Skip to main content
Every output receives a Keeps asset ID. You also supply one stable external ID from your own database. Use either exact reference later:
  1. Keep the returned result.assetIds[index] or result.asset_ids[index].
  2. Or reuse the same external output ID supplied to complete().
External IDs must be unique within a workspace. Keeps never uses a URL, filename, timestamp, prompt, hash, or embedding to infer asset identity. Those values can help with fetching or discovery, but they cannot safely attribute a product action. For an edit or remix, pass the input asset’s Keeps ID or external ID in sourceAssets/source_assets when starting the new generation.