Skip to content
Docs

Documentation

Quotes

Use the Raywake quotes endpoint to price an exact model and input before generation. Read quote IDs, credit costs and expiry times.

POST/v1/quotes

Prices one input for one model. Requires generate. Nothing is charged.

Body
NameTypeDescription
modelrequiredstring
Model id.
inputrequiredobject
The model's input, exactly as you will generate it.
curl -s -X POST https://api.raywake.com/v1/quotes \
  -H "Authorization: Bearer $RAYWAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"nano-banana-pro","input":{"prompt":"A red ceramic cup on a wooden table, soft morning light","aspect_ratio":"1:1"}}'
Response
{
  "quote_id": "9c1d4b7e-2f6a-4e0b-8d3c-5a7f1e2b6c90",
  "model": "nano-banana-pro",
  "credits": 24,
  "expires_at": "2026-09-25T12:10:00Z"
}