Quotes

POST /api/v1/asset-quotes/ — check inputs and lock a price, free.

POST /api/v1/asset-quotes/
Authorization: Bearer rbk_...
Content-Type: application/json
{
    "model": "flux-2-flash",
    "input": { "prompt": "mossy stone tile, top-down", "asset_type": "texture_tile" }
}

Needs the assets:write scope. HTTP 201:

{
    "id": "7c0e...",
    "model": "flux-2-flash",
    "input": { "prompt": "mossy stone tile, top-down", "asset_type": "texture_tile", "seed": 18342 },
    "credits": 250,
    "balance": 12400,
    "payment_required": false,
    "expires_at": "2026-10-27T18:09:11Z"
}
  • credits is the full price, including add-ons.
  • payment_required is true when the balance is below the price.
  • The quote holds its price for 10 minutes, until expires_at. Pass its id to create a job.