Skip to main content
POST
Estimate a generation's cost

Authorizations

Authorization
string
header
required

Your organization's API key, from Settings → API. Authorization: Bearer crl_sk_live_…

Body

application/json
tool
enum<string>

The tool to run. Preferred over stage.

Available options:
ugc-video,
short-clip,
scene-video,
motion-control,
hook-captions,
photo-edit,
text-to-photo,
add-audio,
lipsync,
change-voice,
text-to-speech,
dialogue
stage
string

Lower-level escape hatch when you want to address a stage directly.

model
enum<string>

Override the tool's default model. Must belong to the tool's stage.

Available options:
nano-banana-pro,
nano-banana-2-text-to-image,
gpt-image-v2-text-to-image,
nano-banana-pro-edit,
nano-banana-2-edit,
bytedance-seedream-v4-5-edit,
gpt-image-v2-edit,
bytedance-seedance-2-0-image-to-video,
bytedance-seedance-2-0-image-to-video-fast,
xai-grok-imagine-video-1-5-preview-image-to-video,
google-gemini-omni-flash-image-to-video,
bytedance-seedance-2-0-reference-to-video,
bytedance-seedance-2-0-mini-reference-to-video,
bytedance-seedance-2-0-reference-to-video-fast,
xai-grok-imagine-reference-to-video,
google-gemini-omni-flash-reference-to-video,
kling-v3-standard-motion-control,
hook-write,
caption-burn,
short-clip,
bytedance-seedance-2-0-text-to-video,
sync-3-lipsync,
sync-lipsync-v2-pro,
ffmpeg-api-merge-audio-video,
elevenlabs-zrm-text-to-speech,
elevenlabs-zrm-text-to-dialogue,
change-voice,
scene-seedance-2-0,
scene-seedance-2-0-mini,
scene-kling-o3-pro-reference,
scene-seedance-2-0-fast,
scene-kling-o3-standard-reference,
scene-kling-o3-pro-edit,
scene-kling-o3-standard-edit
prompt
string

What to create. Required by most models.

account_id
string<uuid>

Generate as this creator — inherits their look, voice and persona.

inputs
object

Slot key → asset id(s) or public https URL(s), per the model's inputs. A URL is adopted as an asset automatically.

params
object

Model parameters. Validated against the model's schema — an unknown key is a 400.

count
integer

Alternatives to produce. Image models only; video is always one take.

Required range: 1 <= x <= 4

Response

The estimate.

object
enum<string>
Available options:
cost_estimate
model
string
stage
string
count
integer
credits
number
credit_balance
number
sufficient
boolean