POST /v1/videos submits a video generation request. Credits are deducted based on duration × resolution. There are three ways to drive the generation: text-to-video (prompt only), image-to-video (a first frame, or first + last frame interpolation), and subject-driven (a saved character or up to 6 reference images, anchored across the video).A first frame can additionally carry a video model — pinned via video_lora_id, or auto-matched when you omit it. The model supplies the motion, your image supplies the person and the scene. See Start from a still with a video model.
Want the byte-exact Seedance video API instead — SDK-pointable, forwarded
verbatim? See the raw Seedance access surface.
This POST /v1/videos endpoint is the managed path (characters, reference
handling, first/last-frame helpers); the raw API is a direct passthrough.
Polling video status: video generations and image generations share the
status endpoint. After POST /v1/videos, poll GET /v1/images/{id} —
the ID returned for videos is vid_<ulid> but the polling path is /v1/images/{id}.
This unification is part of the v1.0 contract.
Processing time with a video model: a generation that uses a video model
(pinned via video_lora_id, or matched) can occasionally take several times
its usual time to process. Prefer webhooks and wait for
video.completed or video.failed; allow up to an hour before treating one
as lost, or cancel it. A failed generation is refunded in full; retry with a
newIdempotency-Key.
Text-to-video
Send prompt alone. This is the default mode — no frame, no character, no reference images.
Image-to-video
Pass first_frame_url to animate from a single starting frame, or both first_frame_url and last_frame_url to interpolate between two frames. Each accepts an opaque file_<ulid> (from POST /v1/files) or an https:// URL (server-side fetched through an SSRF-pinned client, max 2048 chars). last_frame_url requires first_frame_url — sending it alone returns 400 parameter_invalid_combination.
Start from a still with a video model
Send first_frame_url together with a video model — pinned via video_lora_id, or auto-matched by omitting it — and the generation runs in reference mode: the model supplies the motion while your image supplies the person, the scene, and the orientation.Your video starts near your image — same person, same scene, same orientation — but frame 0 is recomposed, not copied. It is not a pixel-exact continuation of the still you sent. If you need the output to open on your exact frame, don’t attach a video model: send first_frame_url with video_lora_id: null, which is guaranteed plain image-to-video.
video_lora_id: null costs more — usually a lot more. It is a fidelity choice with a price attached, not a free one. A video model supplies default_duration, default_resolutionanddefault_ratio, and those defaults are what get priced. Opt out and there is nothing to supply them, so the request falls back to adaptive duration (billed against the 15-second ceiling) at 1080p with no ratio pinned — the largest frame we might deliver.Same request, same still, only the tri-state differing:
video_lora_id
Duration
Resolution
Credits held
"action_…" (pinned)
5s (model default)
720p (model default)
295.85
null (matching off)
adaptive (15s ceiling)
1080p
827.26
That is ~2.8×, and it is duration, resolution and ratio compounding, not duration alone. If you want the exact-frame guarantee at a predictable price, send video_lora_id: nullwith an explicit duration and resolution rather than letting both fall back.
Request
What runs
inference_type
first_frame_url + video_lora_id: "<id>"
The pinned model drives your still
r2v
first_frame_url, video_lora_id omitted, a model matches your image
inference_type: "r2v" on this path does not mean you supplied a reference video. reference_video_url stays null — the motion reference is built by the platform from the video model you pinned or matched. Read r2v as “reference mode”, and branch on reference_video_url if you need to tell the two apart.
A last frame cannot combine with a video model: first_frame_url + last_frame_url + video_lora_id returns 400 parameter_invalid_combination with param: "last_frame_url". Use a first frame alone with the model, or drop the model for first + last interpolation — a first + last pair never auto-matches, so interpolation always runs as plain image-to-video. A subject (character_id, reference_image_urls, subjects[]) still cannot combine with any frame — on this path the still itself is what anchors identity.
Minimum frame size
A first frame you attach to a video model becomes a short seed clip, and we scale it up to get there — capped, so a frame below the floor cannot be animated at all. It must be at least 64 pixels on its shortest side and at least 6,400 pixels in total: 80×80 is the smallest square accepted, and at a 64-pixel short side the long side needs to be at least 100. Larger is better.When you pass a file_<ulid> (from POST /v1/files), we already know its dimensions, so an undersized frame is rejected up front with 400 first_frame_too_small and nothing is held. When you pass an https:// URL the dimensions aren’t known until the bytes are fetched, so the same rule is enforced during preparation: the generation is accepted, transitions to failed with error_code: "first_frame_too_small", and the full hold is refunded. Either way the fix is the same — send a larger frame.The floor applies only when a video model is in play (pinned, or left to auto-match). It fires on the possibility of a model, not on one actually being used — an un-pinned frame is rejected even if no model would have matched your image. With video_lora_id: null no seed clip is built, so no upscaling happens and the rule doesn’t apply. Nor does it apply when a last_frame_url rides alongside — a first + last pair never auto-matches and builds no seed clip either, so no first_frame_too_small ever fires on an interpolation request.
Subject-driven video
Anchor the video’s subject across every frame with either:
reference_image_urls — up to 6 ad-hoc reference images, each a file_<ulid> or an https:// URL. Same shape as image generation’s reference_image_urls.
A subject-driven request still requires a prompt describing the action — the subject supplies identity, not motion; it can’t substitute for a prompt on its own. A subject-driven generation reports inference_type: "i2v" on the response.
character_id and reference_image_urls are mutually exclusive — sending both returns 400 mutually_exclusive_input. A subject (either form) combined with first_frame_url / last_frame_url is also rejected, with 400 parameter_invalid_combination. Pick one of the three modes per request.
cURL
curl -X POST https://api.aurous-labs.com/v1/videos \ -H "X-Api-Key: $AUROUS_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "prompt": "She turns toward the camera and smiles", "character_id": "char_01HXMQ7Z3K8Y2VNABCDEFGHJKM" }'
Choosing a video model
GET /v1/video_loras lists the video models available to pin via video_lora_id. The field is tri-state:
Pin a model by passing its catalog id or slug as video_lora_id. A pinned model supplies three generation defaults, not just length: default_duration, default_resolution and default_ratio. Anything you send explicitly (duration, resolution, ratio) wins over the model’s default; anything you omit is filled from the model. All three feed the price — see Duration and cost.
Omit video_lora_id and the platform picks a suitable model for you. With no first frame, matching reads your prompt; when a first frame is attached, matching is based on what the image shows. If nothing fits, your request generates as plain video — with a first frame, as plain image-to-video; with a subject attached, as a subject-driven video. Matching never fails a request: there is no “no model matched” error.
Send video_lora_id: null to opt out of image-based matching. This is meaningful only when first_frame_url is attached, where it guarantees plain image-to-video. Without a first frame, null behaves exactly like omitting the field — your prompt is still auto-matched. There is no way to disable prompt-based matching; pin a model if you need a specific one. null also opts out of the three defaults above, so an otherwise-bare request falls back to adaptive duration at 1080p — measured at ~2.8× a pinned generation. Send duration and resolution alongside it, or see the cost warning.
Treat catalog ids as opaque — don’t assume a fixed prefix. Whichever model ends up behind the generation, pinned or auto-matched, is echoed back on the response: video_lora_id (null for a plain generation) and video_lora_name (omitted for a plain generation).
Estimates don’t run matching, and the quote can miss in either direction.POST /v1/videos/estimate prices exactly the request you sent. If you omit video_lora_id and a model then matches at create, the generation is priced as a video-input generation — and which way the charge moves depends on what you pinned:
You left duration and resolution to us — the usual shape for a bare first-frame request. The estimate has no model, so it prices adaptive duration (the 15-second ceiling) at 1080p; the matched model then supplies a shorter, smaller default. The quote is an upper bound that can substantially over-state. Measured on the first-frame path: amount827.26, actual settled charge 279.91.
You pinned duration and resolution yourself. Your values win over the model’s defaults, so a match can only add the motion reference to the price. Here the charge genuinely exceeds the quote.
On an adaptive request, plan against amount_min–amount_max, not the amount headline — that band is much wider than the headline and it contained the real charge in the measurement above. Pin video_lora_id whenever you need the estimate to be exact — that is the only value that removes matching from the create path entirely. video_lora_id: null suppresses matching only when a first frame is attached, so it does not make a prompt-only quote exact. This has always been true of auto-matching; a first frame just gives matching one more thing to read.
Duration and cost
Video cost is base_per_second × resolution_factor × duration. POST /v1/videos/estimate prices the same request body with no side effects — no character resolution, no reference materialization, no credit hold.
Adaptive duration (the default)
Pass duration: -1, or omit it when no video model is pinned or matched — the model chooses the natural length for your prompt, a whole number of seconds between 4 and 15. You’re billed for the delivered length, not the ceiling: the 15s ceiling is reserved from your balance up front, and the difference is released once the actual length is known. A team with less than the ceiling available gets 402 balance_too_low even if the eventual (shorter) length would have fit.POST /v1/videos/estimate reflects this as a range:
If you omit duration while pinning (or auto-matching) a video model that defines its own default_duration, that model’s default length applies — a fixed price, not adaptive. Omitting duration with no model pinned or matched falls back to adaptive.The same substitution happens for resolution and ratio: a pinned or matched model supplies default_resolution and default_ratio for whichever of the two you left out, and both are priced. This is why the same still can settle at very different prices depending only on video_lora_id — a model that defaults to 5s / 720p prices roughly a third of the adaptive-15s / 1080p fallback you get with no model at all. Send duration, resolution and ratio explicitly whenever you want the price to be a property of your request rather than of whichever model ends up behind it.
Audio
generate_audio defaults to true and is echoed back on the response as video_generate_audio. Audio can be declined by a content check independently of the video itself. If a generation fails for this reason, retry with generate_audio: false to skip audio generation, or adjust the prompt.
Output
When the generation reaches status: succeeded, fetch the rendered file via GET /v1/videos/{id}/output. The output URL is valid for ~24 hours; save what you want to keep. A failed generation never produces output and settles at cost: {"amount": 0, "refunded": true} — the reserved hold is released, never charged.
Webhooks
Register a webhook endpoint subscribed to video.completed / video.failed / video.cancelled (POST /v1/webhook_endpoints) to receive a POST callback when the video reaches a terminal state. See Webhooks for signature verification.
A subject (character_id / reference_image_urls) combined with a frame (first_frame_url / last_frame_url); last_frame_url without first_frame_url; or last_frame_url combined with a video model (param: "last_frame_url" — a first frame with a video model is valid).
A file_<ulid>first_frame_url below the minimum frame size, on a request with a video model pinned or left to auto-match. Rejected before any hold. An https:// frame fails the same rule asynchronously instead — status: failed, error_code: "first_frame_too_small", hold refunded.
Unknown or cross-team character_id, reference image, or pinned video model.
See Errors for the complete catalog, retry policy, and the request_id support workflow.
Authorizations
X-Api-Key
string
header
required
Your team API key (starts with al_live_).
Headers
Idempotency-Key
string
Optional key to safely retry a request. Replaying the same key within 24h returns the original response with Aurous-Idempotent-Replayed: true and never creates a second generation; reusing a key with a different body returns 409 idempotency_key_in_use. A request that failed validation is not cached — retry it with the same key. Same contract as POST /v1/images.
Aurous-Version
string
Optional API version pin (YYYY-MM-DD). Omit the header to receive the platform default, currently 2026-08-26.
Pattern: ^\d{4}-\d{2}-\d{2}$
Example:
"2026-08-26"
Body
application/json
prompt
string
Text prompt describing the video. Optional when the request carries another content source: a first_frame_url (image-to-video), a reference_video_url (reference-to-video), or a pinned video_lora_id (the video model supplies the motion and, when nothing else is sent, generates its own subject). Subject-driven generation (subjects[], character_id, or reference_image_urls) still requires a prompt describing the action unless a video model is pinned or a reference video is attached. A request with none of the four sources returns 400 missing_field.
Example:
"A golden sunset over the ocean with gentle waves"
video_lora_id
string | null
Optional, and TRI-STATE. An id (or slug, where one is set) from GET /v1/video_loras pins a specific video model. A pinned model is also a complete request on its own: send just video_lora_id — no prompt — and the model generates its own subject and motion; add subjects[] (or the legacy character_id/reference_image_urls) to cast specific people, still with no prompt required. Only a pinned id substitutes for a prompt — null never does, and an empty string is treated as omitted. A pin cannot combine with reference_video_url (400 parameter_invalid_combination): both supply the motion. If OMITTED, the platform picks a suitable model for you: matching reads your prompt, or — when first_frame_url is attached — what the IMAGE shows. If none matches, your request is generated as plain video, plain image-to-video, or (with a subject attached) a subject-driven video; matching never fails the request. Send NULL to opt out of IMAGE-based matching — meaningful only when first_frame_url is attached, where it guarantees plain image-to-video. WITHOUT a first frame, null behaves exactly like omitting the field and your prompt is still auto-matched; pin an id if you need a specific model. A first frame plus a pinned or matched model reports inference_type: "r2v" and starts NEAR your image rather than exactly on it. PRICING: a pinned or matched model also supplies default_resolution and default_ratio alongside default_duration for whatever you left out (anything you send explicitly wins), and all three are priced — so null on an otherwise-bare first-frame request falls back to adaptive duration at 1080p and costs ~2.8x the same still with a model pinned. Send duration and resolution alongside null if you want the exact-frame guarantee at a predictable price.
Example:
"action_01HXMQ7Z3K8Y2VNABCDEFGHJKM"
character_id
string
deprecated
Drive the video from a saved character (reference-to-video). Must be status: ready — otherwise 400 character_not_ready. Cross-team ids 404 (existence never leaked). Mutually exclusive with reference_image_urls (→ 400 mutually_exclusive_input) and with first_frame_url/last_frame_url (→ 400 parameter_invalid_combination). Omit both a subject and a frame for plain text-to-video. Superseded by subjects[] (which also supports multi-person casts); fully supported — successful responses carry an advisory Deprecation: true header when this field is used.
Example:
"char_01HXMQ7Z3K8Y2VNABCDEFGHJKM"
reference_image_urls
string[]
deprecated
Up to 6 subject reference images — each a file_<ulid> (POST /v1/files) or an https:// URL (SSRF-pinned server-side fetch). Image files only: a file_<ulid> uploaded with purpose reference_video/reference_audio is rejected (400 invalid_format). The subject is anchored across the video. Mutually exclusive with character_id and with first_frame_url/last_frame_url. Superseded by subjects[] (which also supports multi-person casts); fully supported — successful responses carry an advisory Deprecation: true header when this field is used.
Ordered cast for a multi-person video. Up to 2 subjects per generation (current engine limit — may increase; exceeding it returns 400 parameter_invalid_combination). Each subject is a saved character or its own group of 1–4 reference images; character and reference subjects can be mixed. Supersedes the single-subject character_id/reference_image_urls fields — sending both shapes returns 400 mutually_exclusive_input. A cast may accompany reference_video_url (the clip supplies motion, the cast supplies identity) but not video_task: "extend" and not first_frame_url/last_frame_url. Duplicate characters or a reference image reused across subjects return 400. Empty array is treated as omitted.
Maximum array length: 2
Show child attributes
first_frame_url
string
First frame for image-to-video / first+last frame interpolation. Either an opaque file_<ulid> ID returned by POST /v1/files, or an https:// URL pointing at a public host (max 2048 chars). Image files only — a file_<ulid> uploaded with purpose reference_video/reference_audio is rejected (400 invalid_format). URLs are server-side fetched through an SSRF-pinned client (rejects private IPs / cloud metadata). MINIMUM SIZE — when a video model is pinned or left to auto-match, this frame is upscaled into a short seed clip, so it must be at least 64 px on its shortest side AND at least 6,400 px in total (80x80 is the smallest square accepted; at a 64 px short side the long side needs 100). A file_<ulid> below that returns 400 first_frame_too_small before any credit hold (dimensions were measured at upload); an https:// URL is accepted and settles at status: failed with error_code: "first_frame_too_small" and a full refund, because validation never fetches the bytes. The check runs on the POSSIBILITY of a model, not on one actually being used — an un-pinned frame is rejected even if no model would have matched your image. No minimum applies with video_lora_id: null, nor when a last_frame_url rides alongside — a first+last pair never auto-matches and builds no seed clip either, so no first_frame_too_small ever fires on an interpolation request.
Maximum string length: 2048
Example:
"file_01HXMQ7Z3K8Y2NABCDEFGHJKMN"
last_frame_url
string
Last frame for first+last frame interpolation. Same rules as first_frame_url. Requires first_frame_url — sending last_frame_url alone returns 400 with code parameter_invalid_combination.
Maximum string length: 2048
Example:
"https://example.com/last.jpg"
resolution
enum<string>
Output video resolution
Available options:
480p,
720p,
1080p
ratio
enum<string>
Output video aspect ratio
Available options:
16:9,
4:3,
1:1,
3:4,
9:16,
21:9,
adaptive
duration
enum<number>
Video length in seconds. Pass -1 for ADAPTIVE (default): the model selects the optimal whole-second length within its supported range (currently 4–15 s) and you are billed for the delivered length — a VARIABLE price. Call POST /v1/videos/estimate to see the min–max range before submitting. Pass a whole number 4–15 to pin a fixed length (fixed price). Omitting uses the video model's default length when your request pins or is matched to one; otherwise adaptive (-1). Adaptive holds the 15 s ceiling from your balance until it settles.
Available options:
-1,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15
Example:
5
generate_audio
boolean
Whether the generated video includes synchronized audio. Defaults to the selected video model's audio setting (currently true for all models unless noted on the model).
watermark
boolean
Whether to add watermark
enhance_prompt
boolean
Whether to enhance the prompt with AI. A no-op on requests without a prompt (model-driven and reference-driven bodies): nothing to enhance, nothing charged.
reference_video_url
string
Your reference video — the motion source for a reference-mode generation, or the clip to continue when video_task is extend. Either an opaque file_<ulid> returned by POST /v1/files (uploaded with purpose: reference_video — format/duration/resolution were already validated at upload), or an HTTPS URL. Requirements: MP4 or MOV (H.264/H.265), 2–15 seconds, up to 50 MB, frame area of at least 409,600 px (≈640×640). Clips above 2,073,600 px (1920×1080, ≈1080p) are downscaled to fit before use, preserving aspect ratio, duration and audio. That downscale runs while this request is open, so a large clip adds seconds before the 201 — allow a client timeout of at least 120 s and send an Idempotency-Key — and uploading it once via POST /v1/files moves that cost off the create call. URLs must be publicly fetchable or pre-signed, serve HTTPS directly (redirects are refused — pass the final URL), and respond within the fetch budget. Cannot be combined with first_frame_url/last_frame_url. While the reference is prepared the generation stays in processing — see the endpoint description for timing.
Maximum string length: 2048
Example:
"https://cdn.example.com/clips/dance-loop.mp4"
reference_audio_url
string
An audio reference (voice, music, or ambience) to guide the generated soundtrack — either a file_<ulid> from POST /v1/files (purpose: reference_audio) or an HTTPS URL. WAV or MP3, 2–15 seconds, up to 15 MB. Needs a companion — a reference video, a subject (subjects[] or the legacy fields), or a pinned video_lora_id — and requires audio output (generate_audio must not be false). Same URL rules as reference_video_url (public or signed HTTPS, no redirects).
Maximum string length: 2048
Example:
"https://cdn.example.com/audio/voiceover.mp3"
video_task
enum<string>
default:reference
What to do with reference_video_url. reference (default): generate a new scene that borrows the clip's motion. extend: continue the clip itself in extend_direction; extend takes the clip as-is, so it cannot be combined with video_lora_id. Only valid when reference_video_url is present.
Available options:
reference,
extend
extend_direction
enum<string>
default:forward
Direction to continue the clip when video_task is extend. Defaults to forward. Only valid with video_task: "extend".
Available options:
forward,
backward
Response
Video generation created
object
enum<string>
default:inference
required
Discriminator — always inference. Mirrors OpenAI's object-field convention so SDK clients can branch on the resource type without inspecting the ID prefix. A single canonical value (inference) covers both image and video generations; use media_type to distinguish the rendering kind.
Available options:
inference
Example:
"inference"
id
string
required
Opaque generation ID
Example:
"img_01HXMQ7Z3K8Y2VNABCDEFGHJKM"
status
enum<string>
required
Current generation status. Lifecycle: pending (created, awaiting dispatch) → processing (running) → one of the terminal values succeeded / failed / cancelled. Additional terminal values may be introduced in future API versions and will be announced via the changelog before they appear on the wire.
Available options:
pending,
processing,
succeeded,
failed,
cancelled
Example:
"succeeded"
prompt
string | null
required
The text prompt used for generation, echoing the prompt submitted on the request. null when the generation was created without one — for example a video driven by a pinned video model (video_lora_id alone, or with a cast). Always read this field as nullable.
Example:
"A golden sunset over mountains, cinematic lighting"
created_at
string
required
Creation timestamp (ISO 8601)
Example:
"2026-05-04T10:00:00Z"
media_type
enum<string> | null
Distinguishes image vs video generation. May be null for older rows minted before this column existed.
Available options:
image,
video
Example:
"image"
output_urls
string[] | null
Generated image proxy URLs. Each URL is anonymous-read (no auth header required) and may be cached at the edge. Outputs are kept for up to 30 days after generation (an output that could not be copied expires with the provider link: ~7 days for images, ~24 hours for videos). Save what you want to keep for longer. URLs return 410 Gone after expiry.
Generated video proxy URL (only present on media_type: video). The token in the URL is valid for 1 hour; fetch the generation again for a fresh URL. Outputs are kept for up to 30 days after generation (an output that could not be copied expires with the provider link: ~7 days for images, ~24 hours for videos).
The reference image URLs you supplied as visual anchors for this generation, echoed back (snapshotted at inference time). Present only when the generation was driven by your own reference images (reference_image_urls or reference subjects). Omitted entirely for character-driven generations — a character's reference images are managed platform assets and are never echoed.
Example:
["https://example.com/ref1.jpg"]
error_message
string | null
Human-readable error message if the generation failed. Non-contractual prose — do not parse or match on this value. Switch on error_code instead.
Example:
"Content policy violation"
error_code
string | null
Machine-readable failure reason when status is failed, for the cases where you need to branch in code. null on every successful generation, on failures recorded before this field existed, and on failure paths that have no stable code — error_message is human-facing copy that is re-tuned over time, so never pattern-match it. Currently emitted: generation_interrupted, reference_preparation_failed, content_filtered, generation_failed, first_frame_too_small (an https://first_frame_url attached to a video model whose dimensions were below the minimum — a file_<ulid> frame is rejected with the same code as a 400 before any credits are held; see Errors), reference_blocked (a supplied reference image was declined by a content check — the same code POST requests receive synchronously when our own pre-generation check rejects a reference; here it surfaces asynchronously on a failed generation instead, see Errors), and output_moderation_rejected (a content check declined the rendered output itself, after generation — always async, since there is nothing to check before the output exists; the hold is fully refunded (cost.refunded: true) and no output URLs are ever produced for that id, see Errors). The set is additive: new codes may appear, so treat an unrecognized value as a generic failure, keep a default branch in your switch statement, and fall back to error_message.
Example:
"generation_interrupted"
duration_ms
integer | null
Processing duration in milliseconds (set on terminal status)
Example:
14820
cost
object | null
Per-generation cost breakdown — same shape as the estimated_cost returned by POST /v1/{images,videos}/estimate. May be null for older rows from before this field existed; populated for all new generations. The amount reflects the committed charge for terminal-status rows — 0 (with refunded: true) on a failed generation, since the reserved hold was released, never charged.
Resolved output image width in pixels (image generations only). This is the post-snap REQUESTED dimension: it may differ from a custom-requested width by up to 31 px due to multiple-of-32 snapping, and combined with height it is what determined the billing tier — output pixels (width × height) <= 2,360,000 bill the standard tier, above that the large tier (see GET /v1/models). It is NOT a guarantee of the delivered file: a request carrying subjects[], character_id, reference_image_urls or context_images renders under a 4,624,220 px (~4.6 MP) output ceiling and is scaled down to fit, preserving aspect ratio, so the delivered image is smaller than this value. Read the returned image for its true size.
Example:
1472
height
number
Resolved output image height in pixels (image generations only). This is the post-snap REQUESTED dimension: it may differ from a custom-requested height by up to 31 px due to multiple-of-32 snapping, and combined with width it is what determined the billing tier — output pixels (width × height) <= 2,360,000 bill the standard tier, above that the large tier (see GET /v1/models). It is NOT a guarantee of the delivered file: a request carrying subjects[], character_id, reference_image_urls or context_images renders under a 4,624,220 px (~4.6 MP) output ceiling and is scaled down to fit, preserving aspect ratio, so the delivered image is smaller than this value. Read the returned image for its true size.
Example:
1472
image_count
number
Number of images in the batch. Reflects the requested count while the generation is running; on a terminal status it reflects the number actually DELIVERED — when part of a batch fails you receive the successful images, this count re-stamps to match, and the difference is refunded automatically.
Example:
1
size_preset
enum<string> | null
Named size preset applied to this generation. null when the request used custom width/height instead of a preset. Format is <tier>_<ratio> where tier is 1_5k, 2k, or 4k. Every 1_5k_* preset bills the standard pricing tier (output pixels <= 2,360,000); every 2k_*/4k_* preset bills the large tier — see GET /v1/models.
Available options:
1_5k_1_1,
1_5k_3_2,
1_5k_2_3,
1_5k_4_3,
1_5k_3_4,
1_5k_16_9,
1_5k_9_16,
1_5k_21_9,
2k_1_1,
2k_3_2,
2k_2_3,
2k_4_3,
2k_3_4,
2k_16_9,
2k_9_16,
2k_21_9,
4k_1_1,
4k_3_2,
4k_2_3,
4k_4_3,
4k_3_4,
4k_16_9,
4k_9_16,
4k_21_9
Example:
"1_5k_1_1"
inference_type
string | null
Inference mode dispatched. Images: t2i (text-to-image) — reference images and characters are supplementary inputs to the t2i flow, not a separate mode. Videos (this list also returns vid_* rows): t2v (text-to-video), i2v (image-to-video — frame-driven, subject-driven, or a pinned video model on its own), or r2v (reference mode — the generation was driven by a motion reference). r2v does NOT imply you supplied that reference: it covers BOTH your own clip sent as reference_video_url AND a platform-built reference, produced when a first frame rides with a video model (pinned via video_lora_id, or auto-matched from the image). On the platform-built variant reference_video_url is null — branch on that field, not on inference_type, to tell the two apart. Treat any value not listed here as opaque — the set grows over time.
Example:
"t2i"
cfg_rescale
number | null
CFG rescale factor the customer supplied on the request body, echoed back here. Range 0.0-1.0. Omitted when the customer did not supply a per-request value (the platform applied a precedence-chain default — LoRA, character override, or the global 0.7 — which is not exposed on the response).
Required range: 0 <= x <= 1
Example:
0.7
denoise_strength
number | null
Denoising strength the customer supplied on the request body, echoed back here. Range 0.0-1.0. Omitted when the customer did not supply a value or when the generation was a bare text-to-image request (denoise is only applied when reference images or a character are attached).
Required range: 0 <= x <= 1
Example:
0.6
seed
integer | null
The random seed the model actually used for this image generation. Populated even when you omit seed on the request — the platform requests a random seed and records the concrete value the provider rolled, so you can reproduce the result by passing it back as seed. Available once status is succeeded; null before then and for failed/cancelled generations. For multi-image batches (image_count > 1) this is the seed of the first image (output_urls[0]); per-image seeds are not yet exposed. Image generations only.
Example:
819572108
video_duration
integer | null
Video duration in seconds (video generations only)
Example:
5
video_resolution
enum<string> | null
Video resolution (video generations only)
Available options:
480p,
720p,
1080p
Example:
"480p"
video_ratio
enum<string> | null
Video aspect ratio (video generations only)
Available options:
16:9,
4:3,
1:1,
3:4,
9:16,
21:9,
adaptive
Example:
"16:9"
video_generate_audio
boolean | null
Whether the generated video includes synchronized audio (video generations only). This is the audio setting actually applied. It normally matches your generate_audio, or the selected video model's default when you omit it, but the platform resolves the final value for the request. Read this field rather than assuming your request value.
Example:
true
video_task
string | null
Resolved reference-video task (video generations only). reference: the generation borrows the clip's motion for a new scene. extend: the generation continues the clip itself. null on every generation that did not supply reference_video_url (including all pre-existing rows). Additional task types may be introduced in future API versions — treat an unrecognized value as opaque.
Example:
"reference"
extend_direction
enum<string> | null
Resolved extend direction (video generations only). Non-null only when video_task is extend; null otherwise (including every reference-mode and non-reference generation).
Available options:
forward,
backward
Example:
"forward"
reference_video_url
string | null
The reference video URL you submitted, echoed back VERBATIM as you sent it — never re-signed, never a storage path. null for generations that did not supply reference_video_url (including every dashboard-originated row, and including an inference_type: "r2v" generation whose motion reference the platform built from a first frame plus a pinned or matched video model — this field, not inference_type, is what distinguishes your own clip from a platform-built reference).
Example:
"https://cdn.example.com/clips/dance-loop.mp4"
reference_audio_url
string | null
The reference audio URL you submitted, echoed back VERBATIM as you sent it. null for generations that did not supply reference_audio_url.
Example:
"https://cdn.example.com/audio/voiceover.mp3"
video_lora_id
string | null
The video model (an id or slug from GET /v1/video_loras) behind this generation (video generations only) — either the video_lora_id you pinned on the request, or the model the platform auto-matched to your prompt when none was pinned. null for a plain (no video model) generation, and always null on image generations.
Example:
"action_01HXMQ7Z3K8Y2VNABCDEFGHJKM"
video_lora_name
string | null
Display name of the video model in video_lora_id, if any. Omitted for plain generations (no pinned or matched video model).
Example:
"Cinematic Pan"
character_id
string | null
Character ID supplied on the request (char_<ulid> or legacy UUID), echoed back. null when no character was attached to this generation.
Example:
"char_01HXMQ7Z3K8Y2VNABCDEFGHJKM"
subjects
object[] | null
Ordered subjects composed into this generation (positional — entry N echoes entry N of the identity inputs sent on create; legacy character_id / reference_image_urls inputs are normalized into the same projection). Character entries carry the opaque char_<ulid>; reference entries echo only their image count, never URLs. Video generations echo their cast the same way (up to 2 entries), matching the subjects[] array accepted by POST /v1/videos. Character entries on generations created before cast snapshotting may carry character_id: null; the id is never substituted with an internal identifier. null for generations that did not compose subjects (plain prompt-only or style generations, and context-image generations). The engine is not exposed.
Count-only echo of the context_images[] sent on create — the number of loose reference images supplied, never the image URLs themselves. null for every generation that did not use context_images (plain prompt-only, style, subject, and video generations).
Show child attributes
Example:
{ "image_count": 3 }
action
object | null
The composition act applied to this generation, echoed as { id, name }. An act is applied either because you pinned it with action_id or because act detection matched one automatically. id is the act identifier from GET /v1/actions; name is its display name (or null when the name was not recorded). null for every generation that did not apply an act — plain prompt-only, style, context-image, and video generations. A new, always-present, nullable key: existing integrations that do not read it are unaffected.
The prompt style applied to this generation, echoed as { id, name }. A style is applied either because you pinned it with lora_id or because style matching resolved one from your prompt — the echo always reflects the style that actually ran (a retired id that aliases to a successor echoes the successor). id is the lora_* identifier from GET /v1/loras and round-trips into lora_id. null for every generation without a style — including lora_id: null requests, retired styles that generate plain, video generations, and all rows minted before styles shipped. A new, always-present, nullable key: existing integrations that do not read it are unaffected.
Non-fatal request adjustments, present ONLY on the POST /v1/images 201 body (and the estimate response) — never on GET reads, list rows, or webhook payloads. Omitted entirely when empty. Current codes: parameter_ignored, style_retired_plain; new codes may be added without a version bump — ignore unknown codes. Idempotent replays return the original warnings verbatim.
Show child attributes
Example:
[
{
"code": "style_retired_plain",
"param": "lora_id",
"message": "Style lora_06AAAAAAAAAAAAAAAAAAAAAAAA is retired and no longer applies a style — this request generates without one."
}
]
enhancer_outcome
string | null
Outcome of the prompt-optimization step, echoed for observability. Current values: no_request (the request did not invoke it), succeeded, identical, refused, transport_error, length_overflow; null on rows minted before this field existed. INFORMATIONAL and deliberately an OPEN set (no schema enum — codegen clients must not mint a closed union): do not branch control flow on it; new values may be added without a version bump.
Example:
"succeeded"
loras
object[] | null
LoRAs applied to this generation. null for prompt-only and pure-reference generations.
Show child attributes
aurous_version
string
API contract version applied at the time this row was minted (D25 — frozen for replay across future version bumps).
Example:
"2026-08-26"
creation_request_id
string
Aurous-Request-Id of the POST that created this row. Quote in support tickets to trace the original create request.
Example:
"req_01HXMQ7Z3K8Y2VNABCDEFGHJKM"
completed_at
string | null
Terminal-status timestamp (ISO 8601). NULL until the generation reaches a terminal state.
Example:
"2026-05-04T10:00:14Z"
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Aurous Labs","colors":{"primary":"#7C3AED","light":"#A78BFA","dark":"#5B21B6"},"logo":{"light":"https://mintcdn.com/mayatech/yW79tCRlCpJDDgoM/logo-light.png?fit=max\u0026auto=format\u0026n=yW79tCRlCpJDDgoM\u0026q=85\u0026s=f3dfa1506dde2b022b4496c2c2f55104","dark":"https://mintcdn.com/mayatech/yW79tCRlCpJDDgoM/logo-dark.png?fit=max\u0026auto=format\u0026n=yW79tCRlCpJDDgoM\u0026q=85\u0026s=fb6dc85c1a2cb23d84e6d8efccdde751"},"favicon":"https://mintcdn.com/mayatech/yW79tCRlCpJDDgoM/favicon.png?fit=max\u0026auto=format\u0026n=yW79tCRlCpJDDgoM\u0026q=85\u0026s=374677cfa3da0cfdc4461950d5e6ec73","api":{"openapi":"api-reference/openapi.json"},"navbar":{"links":[{"href":"https://app.aurous-labs.com/dashboard","label":"Dashboard"}],"primary":{"type":"button","label":"Get an API key","href":"https://app.aurous-labs.com/auth/register"}},"footer":{"socials":{"twitter":"https://twitter.com/aurouslabs"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"mayatech","hasAudioNarration":false,"actualSubdomain":"mayatech","customDomains":["docs.aurous-labs.com"],"gitSource":{"type":"github","owner":"mayatech88","repo":"onlygold","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6adafc5af4b49ade1f1e2d25","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"API Reference","count":82},{"language":"default","tag":"Characters","count":17},{"language":"default","tag":"Chat completions","count":13},{"language":"default","tag":"Embeddings","count":10},{"language":"default","tag":"Webhooks","count":8},{"language":"default","tag":"Images","count":7},{"language":"default","tag":"Seedance (raw)","count":7},{"language":"default","tag":"Guides","count":6},{"language":"default","tag":"Usage analytics","count":5},{"language":"default","tag":"Concepts","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/videos/create-video","slug":"/api-reference/videos/create-video","pageMetadata":{"title":"Create a video","description":"Submit a video generation — text-to-video, image-to-video, or subject-driven with a saved character or reference images.","openapi":"POST /v1/videos","href":"/api-reference/videos/create-video"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Submit a video generation — text-to-video, image-to-video, or subject-driven with a saved character or reference images.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`POST /v1/videos`}),` submits a video generation request. Credits are deducted based on duration × resolution. There are three ways to drive the generation: `,_jsx(_components.strong,{children:`text-to-video`}),` (prompt only), `,_jsx(_components.strong,{children:`image-to-video`}),` (a first frame, or first + last frame interpolation), and `,_jsx(_components.strong,{children:`subject-driven`}),` (a saved character or up to 6 reference images, anchored across the video).`]}),`\n`,_jsxs(_components.p,{children:[`A first frame can additionally carry a `,_jsx(_components.strong,{children:`video model`}),` — pinned via `,_jsx(_components.code,{children:`video_lora_id`}),`, or auto-matched when you omit it. The model supplies the motion, your image supplies the person and the scene. See `,_jsx(_components.a,{href:`#start-from-a-still-with-a-video-model`,children:`Start from a still with a video model`}),`.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Want the byte-exact Seedance video API instead — SDK-pointable, forwarded\nverbatim? See the `,_jsx(_components.a,{href:`/api-reference/seedance/overview`,children:`raw Seedance access`}),` surface.\nThis `,_jsx(_components.code,{children:`POST /v1/videos`}),` endpoint is the managed path (characters, reference\nhandling, first/last-frame helpers); the raw API is a direct passthrough.`]})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Polling video status`}),`: video generations and image generations share the\nstatus endpoint. After `,_jsx(_components.code,{children:`POST /v1/videos`}),`, poll `,_jsx(_components.a,{href:`/api-reference/images/retrieve-image`,children:_jsx(_components.code,{children:`GET /v1/images/{id}`})}),` —\nthe ID returned for videos is `,_jsx(_components.code,{children:`vid_\u003culid>`}),` but the polling path is `,_jsx(_components.code,{children:`/v1/images/{id}`}),`.\nThis unification is part of the v1.0 contract.`]})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Processing time with a video model`}),`: a generation that uses a video model\n(pinned via `,_jsx(_components.code,{children:`video_lora_id`}),`, or matched) can occasionally take several times\nits usual time to process. Prefer `,_jsx(_components.a,{href:`/webhooks`,children:`webhooks`}),` and wait for\n`,_jsx(_components.code,{children:`video.completed`}),` or `,_jsx(_components.code,{children:`video.failed`}),`; allow up to an hour before treating one\nas lost, or cancel it. A failed generation is refunded in full; retry with a\n`,_jsx(_components.strong,{children:`new`}),` `,_jsx(_components.code,{children:`Idempotency-Key`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`text-to-video`,children:`Text-to-video`}),`\n`,_jsxs(_components.p,{children:[`Send `,_jsx(_components.code,{children:`prompt`}),` alone. This is the default mode — no frame, no character, no reference images.`]}),`\n`,_jsx(Heading,{level:`2`,id:`image-to-video`,children:`Image-to-video`}),`\n`,_jsxs(_components.p,{children:[`Pass `,_jsx(_components.code,{children:`first_frame_url`}),` to animate from a single starting frame, or both `,_jsx(_components.code,{children:`first_frame_url`}),` and `,_jsx(_components.code,{children:`last_frame_url`}),` to interpolate between two frames. Each accepts an opaque `,_jsx(_components.code,{children:`file_\u003culid>`}),` (from `,_jsx(_components.code,{children:`POST /v1/files`}),`) or an `,_jsx(_components.code,{children:`https://`}),` URL (server-side fetched through an SSRF-pinned client, max 2048 chars). `,_jsx(_components.code,{children:`last_frame_url`}),` requires `,_jsx(_components.code,{children:`first_frame_url`}),` — sending it alone returns `,_jsx(_components.code,{children:`400 parameter_invalid_combination`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`start-from-a-still-with-a-video-model`,children:`Start from a still with a video model`}),`\n`,_jsxs(_components.p,{children:[`Send `,_jsx(_components.code,{children:`first_frame_url`}),` together with a video model — pinned via `,_jsx(_components.code,{children:`video_lora_id`}),`, or auto-matched by omitting it — and the generation runs in `,_jsx(_components.strong,{children:`reference mode`}),`: the model supplies the motion while your image supplies the person, the scene, and the orientation.`]}),`\n`,_jsxs(_components.p,{children:[`Your video `,_jsx(_components.strong,{children:`starts near your image`}),` — same person, same scene, same orientation — but frame 0 is recomposed, not copied. It is not a pixel-exact continuation of the still you sent. If you need the output to open on your exact frame, don’t attach a video model: send `,_jsx(_components.code,{children:`first_frame_url`}),` with `,_jsx(_components.code,{children:`video_lora_id: null`}),`, which is guaranteed plain image-to-video.`]}),`\n`,_jsxs(Warning,{children:[_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`video_lora_id: null`}),` costs more — usually a lot more.`]}),` It is a fidelity choice with a price attached, not a free one. A video model supplies `,_jsx(_components.code,{children:`default_duration`}),`, `,_jsx(_components.code,{children:`default_resolution`}),` `,_jsx(_components.strong,{children:`and`}),` `,_jsx(_components.code,{children:`default_ratio`}),`, and those defaults are what get priced. Opt out and there is nothing to supply them, so the request falls back to adaptive duration (billed against the 15-second ceiling) at 1080p with no ratio pinned — the largest frame we might deliver.`]}),_jsx(_components.p,{children:`Same request, same still, only the tri-state differing:`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`video_lora_id`})}),_jsx(_components.th,{children:`Duration`}),_jsx(_components.th,{children:`Resolution`}),_jsx(_components.th,{children:`Credits held`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`\"action_…\"`}),` (pinned)`]}),_jsx(_components.td,{children:`5s (model default)`}),_jsx(_components.td,{children:`720p (model default)`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.strong,{children:`295.85`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`null`}),` (matching off)`]}),_jsx(_components.td,{children:`adaptive (15s ceiling)`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1080p`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.strong,{children:`827.26`})})]})]})]}),_jsxs(_components.p,{children:[`That is `,_jsx(_components.strong,{children:`~2.8×`}),`, and it is duration, resolution and ratio compounding, not duration alone. If you want the exact-frame guarantee at a predictable price, send `,_jsx(_components.code,{children:`video_lora_id: null`}),` `,_jsx(_components.strong,{children:`with`}),` an explicit `,_jsx(_components.code,{children:`duration`}),` and `,_jsx(_components.code,{children:`resolution`}),` rather than letting both fall back.`]})]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Request`}),_jsx(_components.th,{children:`What runs`}),_jsx(_components.th,{children:_jsx(_components.code,{children:`inference_type`})})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`first_frame_url`}),` + `,_jsx(_components.code,{children:`video_lora_id: \"\u003cid>\"`})]}),_jsx(_components.td,{children:`The pinned model drives your still`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`r2v`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`first_frame_url`}),`, `,_jsx(_components.code,{children:`video_lora_id`}),` omitted, a model matches your image`]}),_jsx(_components.td,{children:`The matched model drives your still`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`r2v`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`first_frame_url`}),`, `,_jsx(_components.code,{children:`video_lora_id`}),` omitted, nothing matches`]}),_jsx(_components.td,{children:`Plain image-to-video`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`i2v`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`first_frame_url`}),` + `,_jsx(_components.code,{children:`video_lora_id: null`})]}),_jsx(_components.td,{children:`Plain image-to-video, matching off`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`i2v`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`first_frame_url`}),` + `,_jsx(_components.code,{children:`last_frame_url`}),`, no video model`]}),_jsx(_components.td,{children:`Frame interpolation`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`i2v`})})]})]})]}),`\n`,_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`9`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.aurous-labs.com/v1/videos`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-Api-Key: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$AUROUS_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Idempotency-Key: $(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`uuidgen`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`)\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt\": \"She turns toward the camera\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"first_frame_url\": \"file_01HXMQ7Z3K8Y2VNABCDEFGHJKM\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"video_lora_id\": \"action_01HXMQ7Z3K8Y2VNABCDEFGHJKM\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`inference_type: \"r2v\"`}),` on this path does `,_jsx(_components.strong,{children:`not`}),` mean you supplied a reference video. `,_jsx(_components.code,{children:`reference_video_url`}),` stays `,_jsx(_components.code,{children:`null`}),` — the motion reference is built by the platform from the video model you pinned or matched. Read `,_jsx(_components.code,{children:`r2v`}),` as “reference mode”, and branch on `,_jsx(_components.code,{children:`reference_video_url`}),` if you need to tell the two apart.`]})}),`\n`,_jsxs(_components.p,{children:[`A `,_jsx(_components.strong,{children:`last`}),` frame cannot combine with a video model: `,_jsx(_components.code,{children:`first_frame_url`}),` + `,_jsx(_components.code,{children:`last_frame_url`}),` + `,_jsx(_components.code,{children:`video_lora_id`}),` returns `,_jsx(_components.code,{children:`400 parameter_invalid_combination`}),` with `,_jsx(_components.code,{children:`param: \"last_frame_url\"`}),`. Use a first frame alone with the model, or drop the model for first + last interpolation — a first + last pair never auto-matches, so interpolation always runs as plain image-to-video. A subject (`,_jsx(_components.code,{children:`character_id`}),`, `,_jsx(_components.code,{children:`reference_image_urls`}),`, `,_jsx(_components.code,{children:`subjects[]`}),`) still cannot combine with any frame — on this path the still itself is what anchors identity.`]}),`\n`,_jsx(Heading,{level:`3`,id:`minimum-frame-size`,children:`Minimum frame size`}),`\n`,_jsxs(_components.p,{children:[`A first frame you attach to a video model becomes a short seed clip, and we scale it up to get there — capped, so a frame below the floor cannot be animated at all. It must be `,_jsx(_components.strong,{children:`at least 64 pixels on its shortest side`}),` and `,_jsx(_components.strong,{children:`at least 6,400 pixels in total`}),`: 80×80 is the smallest square accepted, and at a 64-pixel short side the long side needs to be at least 100. Larger is better.`]}),`\n`,_jsxs(_components.p,{children:[`When you pass a `,_jsx(_components.code,{children:`file_\u003culid>`}),` (from `,_jsx(_components.code,{children:`POST /v1/files`}),`), we already know its dimensions, so an undersized frame is rejected up front with `,_jsx(_components.a,{href:`/errors#first_frame_too_small`,children:_jsx(_components.code,{children:`400 first_frame_too_small`})}),` and `,_jsx(_components.strong,{children:`nothing is held`}),`. When you pass an `,_jsx(_components.code,{children:`https://`}),` URL the dimensions aren’t known until the bytes are fetched, so the same rule is enforced during preparation: the generation is accepted, transitions to `,_jsx(_components.code,{children:`failed`}),` with `,_jsx(_components.code,{children:`error_code: \"first_frame_too_small\"`}),`, and the full hold is refunded. Either way the fix is the same — send a larger frame.`]}),`\n`,_jsxs(_components.p,{children:[`The floor applies only when a video model is in play (pinned, or left to auto-match). It fires on the `,_jsx(_components.em,{children:`possibility`}),` of a model, not on one actually being used — an un-pinned frame is rejected even if no model would have matched your image. With `,_jsx(_components.code,{children:`video_lora_id: null`}),` no seed clip is built, so no upscaling happens and the rule doesn’t apply. Nor does it apply when a `,_jsx(_components.code,{children:`last_frame_url`}),` rides alongside — a first + last pair never auto-matches and builds no seed clip either, so no `,_jsx(_components.a,{href:`/errors#first_frame_too_small`,children:_jsx(_components.code,{children:`first_frame_too_small`})}),` ever fires on an interpolation request.`]}),`\n`,_jsx(Heading,{level:`2`,id:`subject-driven-video`,children:`Subject-driven video`}),`\n`,_jsx(_components.p,{children:`Anchor the video’s subject across every frame with either:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`character_id`})}),` — a saved character (see `,_jsx(_components.a,{href:`/api-reference/characters/create-character`,children:`Create a character`}),`). Must be `,_jsx(_components.a,{href:`/api-reference/characters/retrieve-character`,children:_jsx(_components.code,{children:`status: ready`})}),` — otherwise `,_jsx(_components.code,{children:`400 character_not_ready`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`reference_image_urls`})}),` — up to 6 ad-hoc reference images, each a `,_jsx(_components.code,{children:`file_\u003culid>`}),` or an `,_jsx(_components.code,{children:`https://`}),` URL. Same shape as image generation’s `,_jsx(_components.code,{children:`reference_image_urls`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`A subject-driven request still requires a `,_jsx(_components.code,{children:`prompt`}),` describing the action — the subject supplies identity, not motion; it can’t substitute for a prompt on its own. A subject-driven generation reports `,_jsx(_components.code,{children:`inference_type: \"i2v\"`}),` on the response.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`character_id`}),` and `,_jsx(_components.code,{children:`reference_image_urls`}),` are `,_jsx(_components.strong,{children:`mutually exclusive`}),` — sending both returns `,_jsx(_components.code,{children:`400 mutually_exclusive_input`}),`. A subject (either form) combined with `,_jsx(_components.code,{children:`first_frame_url`}),` / `,_jsx(_components.code,{children:`last_frame_url`}),` is also rejected, with `,_jsx(_components.code,{children:`400 parameter_invalid_combination`}),`. Pick one of the three modes per request.`]})}),`\n`,_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`8`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.aurous-labs.com/v1/videos`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-Api-Key: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$AUROUS_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Idempotency-Key: $(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`uuidgen`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`)\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt\": \"She turns toward the camera and smiles\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"character_id\": \"char_01HXMQ7Z3K8Y2VNABCDEFGHJKM\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`choosing-a-video-model`,children:`Choosing a video model`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`GET /v1/video_loras`}),` lists the video models available to pin via `,_jsx(_components.code,{children:`video_lora_id`}),`. The field is tri-state:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Pin a model`}),` by passing its catalog `,_jsx(_components.code,{children:`id`}),` or `,_jsx(_components.code,{children:`slug`}),` as `,_jsx(_components.code,{children:`video_lora_id`}),`. A pinned model supplies `,_jsx(_components.strong,{children:`three`}),` generation defaults, not just length: `,_jsx(_components.code,{children:`default_duration`}),`, `,_jsx(_components.code,{children:`default_resolution`}),` and `,_jsx(_components.code,{children:`default_ratio`}),`. Anything you send explicitly (`,_jsx(_components.code,{children:`duration`}),`, `,_jsx(_components.code,{children:`resolution`}),`, `,_jsx(_components.code,{children:`ratio`}),`) wins over the model’s default; anything you omit is filled from the model. All three feed the price — see `,_jsx(_components.a,{href:`#duration-and-cost`,children:`Duration and cost`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[`Omit `,_jsx(_components.code,{children:`video_lora_id`})]}),` and the platform picks a suitable model for you. With no first frame, matching reads your `,_jsx(_components.strong,{children:`prompt`}),`; `,_jsx(_components.strong,{children:`when a first frame is attached, matching is based on what the image shows.`}),` If nothing fits, your request generates as plain video — with a first frame, as plain image-to-video; with a subject attached, as a subject-driven video. Matching never fails a request: there is no “no model matched” error.`]}),`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[`Send `,_jsx(_components.code,{children:`video_lora_id: null`})]}),` to opt out of `,_jsx(_components.strong,{children:`image-based`}),` matching. This is meaningful only when `,_jsx(_components.code,{children:`first_frame_url`}),` is attached, where it guarantees plain image-to-video. Without a first frame, `,_jsx(_components.code,{children:`null`}),` behaves exactly like omitting the field — your prompt is still auto-matched. There is no way to disable prompt-based matching; pin a model if you need a specific one. `,_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`null`}),` also opts out of the three defaults above`]}),`, so an otherwise-bare request falls back to adaptive duration at 1080p — measured at ~2.8× a pinned generation. Send `,_jsx(_components.code,{children:`duration`}),` and `,_jsx(_components.code,{children:`resolution`}),` alongside it, or see the `,_jsx(_components.a,{href:`#start-from-a-still-with-a-video-model`,children:`cost warning`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Treat catalog ids as opaque — don’t assume a fixed prefix. Whichever model ends up behind the generation, pinned or auto-matched, is echoed back on the response: `,_jsx(_components.code,{children:`video_lora_id`}),` (`,_jsx(_components.code,{children:`null`}),` for a plain generation) and `,_jsx(_components.code,{children:`video_lora_name`}),` (omitted for a plain generation).`]}),`\n`,_jsxs(Note,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Estimates don’t run matching, and the quote can miss in either direction.`}),` `,_jsx(_components.code,{children:`POST /v1/videos/estimate`}),` prices exactly the request you sent. If you omit `,_jsx(_components.code,{children:`video_lora_id`}),` and a model then matches at create, the generation is priced as a `,_jsx(_components.strong,{children:`video-input`}),` generation — and which way the charge moves depends on what you pinned:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[`You left `,_jsx(_components.code,{children:`duration`}),` and `,_jsx(_components.code,{children:`resolution`}),` to us`]}),` — the usual shape for a bare first-frame request. The estimate has no model, so it prices adaptive duration (the 15-second ceiling) at 1080p; the matched model then supplies a `,_jsx(_components.em,{children:`shorter, smaller`}),` default. The quote is an `,_jsx(_components.strong,{children:`upper bound that can substantially over-state`}),`. Measured on the first-frame path: `,_jsx(_components.code,{children:`amount`}),` `,_jsx(_components.strong,{children:`827.26`}),`, actual settled charge `,_jsx(_components.strong,{children:`279.91`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[`You pinned `,_jsx(_components.code,{children:`duration`}),` and `,_jsx(_components.code,{children:`resolution`}),` yourself.`]}),` Your values win over the model’s defaults, so a match can only `,_jsx(_components.em,{children:`add`}),` the motion reference to the price. Here the charge genuinely `,_jsx(_components.strong,{children:`exceeds`}),` the quote.`]}),`\n`]}),_jsxs(_components.p,{children:[`On an adaptive request, plan against `,_jsx(_components.code,{children:`amount_min`}),`–`,_jsx(_components.code,{children:`amount_max`}),`, not the `,_jsx(_components.code,{children:`amount`}),` headline — that band is much wider than the headline and it contained the real charge in the measurement above. `,_jsxs(_components.strong,{children:[`Pin `,_jsx(_components.code,{children:`video_lora_id`}),` whenever you need the estimate to be exact`]}),` — that is the only value that removes matching from the create path entirely. `,_jsx(_components.code,{children:`video_lora_id: null`}),` suppresses matching only when a first frame is attached, so it does not make a prompt-only quote exact. This has always been true of auto-matching; a first frame just gives matching one more thing to read.`]})]}),`\n`,_jsx(Heading,{level:`2`,id:`duration-and-cost`,children:`Duration and cost`}),`\n`,_jsxs(_components.p,{children:[`Video cost is `,_jsx(_components.code,{children:`base_per_second × resolution_factor × duration`}),`. `,_jsx(_components.code,{children:`POST /v1/videos/estimate`}),` prices the same request body with no side effects — no character resolution, no reference materialization, no credit hold.`]}),`\n`,_jsx(Heading,{level:`3`,id:`adaptive-duration-the-default`,children:`Adaptive duration (the default)`}),`\n`,_jsxs(_components.p,{children:[`Pass `,_jsx(_components.code,{children:`duration: -1`}),`, or omit it when no video model is pinned or matched — the model chooses the natural length for your prompt, a whole number of seconds between 4 and 15. You’re billed for the `,_jsx(_components.strong,{children:`delivered`}),` length, not the ceiling: the 15s ceiling is reserved from your balance up front, and the difference is released once the actual length is known. A team with less than the ceiling available gets `,_jsx(_components.code,{children:`402 balance_too_low`}),` even if the eventual (shorter) length would have fit.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`POST /v1/videos/estimate`}),` reflects this as a range:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"object\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"estimate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"estimated_cost\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`37.5`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"adaptive\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amount_min\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amount_max\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`37.5`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"breakdown\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"base_per_second\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2.5`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"resolution_factor\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"duration_s_min\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`4`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"duration_s_max\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`15`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"credit\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`amount`}),` equals `,_jsx(_components.code,{children:`amount_max`}),` — the ceiling actually held. The real charge, once the generation settles, lands between `,_jsx(_components.code,{children:`amount_min`}),` and `,_jsx(_components.code,{children:`amount_max`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`fixed-duration`,children:`Fixed duration`}),`\n`,_jsx(_components.p,{children:`Pass a whole number of seconds, 4–15, to pin an exact length at an exact price:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"object\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"estimate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"estimated_cost\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`12.5`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"adaptive\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"breakdown\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"base_per_second\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2.5`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"resolution_factor\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"duration_s\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"credit\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`If you omit `,_jsx(_components.code,{children:`duration`}),` while pinning (or auto-matching) a video model that defines its own `,_jsx(_components.code,{children:`default_duration`}),`, that model’s default length applies — a fixed price, not adaptive. Omitting `,_jsx(_components.code,{children:`duration`}),` with no model pinned or matched falls back to adaptive.`]}),`\n`,_jsxs(_components.p,{children:[`The same substitution happens for `,_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`resolution`}),` and `,_jsx(_components.code,{children:`ratio`})]}),`: a pinned or matched model supplies `,_jsx(_components.code,{children:`default_resolution`}),` and `,_jsx(_components.code,{children:`default_ratio`}),` for whichever of the two you left out, and both are priced. This is why the same still can settle at very different prices depending only on `,_jsx(_components.code,{children:`video_lora_id`}),` — a model that defaults to 5s / 720p prices roughly a third of the adaptive-15s / 1080p fallback you get with no model at all. Send `,_jsx(_components.code,{children:`duration`}),`, `,_jsx(_components.code,{children:`resolution`}),` and `,_jsx(_components.code,{children:`ratio`}),` explicitly whenever you want the price to be a property of your request rather than of whichever model ends up behind it.`]}),`\n`,_jsx(Heading,{level:`2`,id:`audio`,children:`Audio`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`generate_audio`}),` defaults to `,_jsx(_components.code,{children:`true`}),` and is echoed back on the response as `,_jsx(_components.code,{children:`video_generate_audio`}),`. Audio can be declined by a content check independently of the video itself. If a generation fails for this reason, retry with `,_jsx(_components.code,{children:`generate_audio: false`}),` to skip audio generation, or adjust the prompt.`]}),`\n`,_jsx(Heading,{level:`2`,id:`output`,children:`Output`}),`\n`,_jsxs(_components.p,{children:[`When the generation reaches `,_jsx(_components.code,{children:`status: succeeded`}),`, fetch the rendered file via `,_jsx(_components.code,{children:`GET /v1/videos/{id}/output`}),`. The output URL is valid for ~24 hours; save what you want to keep. A failed generation never produces output and settles at `,_jsx(_components.code,{children:`cost: {\"amount\": 0, \"refunded\": true}`}),` — the reserved hold is released, never charged.`]}),`\n`,_jsx(Heading,{level:`2`,id:`webhooks`,children:`Webhooks`}),`\n`,_jsxs(_components.p,{children:[`Register a `,_jsx(_components.a,{href:`/webhooks`,children:`webhook endpoint`}),` subscribed to `,_jsx(_components.code,{children:`video.completed`}),` / `,_jsx(_components.code,{children:`video.failed`}),` / `,_jsx(_components.code,{children:`video.cancelled`}),` (`,_jsx(_components.code,{children:`POST /v1/webhook_endpoints`}),`) to receive a POST callback when the video reaches a terminal state. See `,_jsx(_components.a,{href:`/webhooks`,children:`Webhooks`}),` for signature verification.`]}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`HTTP`}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`/errors#missing_field`,children:_jsx(_components.code,{children:`missing_field`})})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[`Neither `,_jsx(_components.code,{children:`prompt`}),` nor `,_jsx(_components.code,{children:`first_frame_url`}),` was supplied.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`/errors#mutually_exclusive_input`,children:_jsx(_components.code,{children:`mutually_exclusive_input`})})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[`Both `,_jsx(_components.code,{children:`character_id`}),` and `,_jsx(_components.code,{children:`reference_image_urls`}),` supplied.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`/errors#parameter_invalid_combination`,children:_jsx(_components.code,{children:`parameter_invalid_combination`})})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[`A subject (`,_jsx(_components.code,{children:`character_id`}),` / `,_jsx(_components.code,{children:`reference_image_urls`}),`) combined with a frame (`,_jsx(_components.code,{children:`first_frame_url`}),` / `,_jsx(_components.code,{children:`last_frame_url`}),`); `,_jsx(_components.code,{children:`last_frame_url`}),` without `,_jsx(_components.code,{children:`first_frame_url`}),`; or `,_jsx(_components.code,{children:`last_frame_url`}),` combined with a video model (`,_jsx(_components.code,{children:`param: \"last_frame_url\"`}),` — a `,_jsx(_components.strong,{children:`first`}),` frame with a video model is valid).`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`/errors#character_not_ready`,children:_jsx(_components.code,{children:`character_not_ready`})})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`character_id`}),` resolves but isn’t `,_jsx(_components.code,{children:`status: ready`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`/errors#first_frame_too_small`,children:_jsx(_components.code,{children:`first_frame_too_small`})})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[`A `,_jsx(_components.code,{children:`file_\u003culid>`}),` `,_jsx(_components.code,{children:`first_frame_url`}),` below the `,_jsx(_components.a,{href:`#minimum-frame-size`,children:`minimum frame size`}),`, on a request with a video model pinned or left to auto-match. Rejected before any hold. An `,_jsx(_components.code,{children:`https://`}),` frame fails the same rule asynchronously instead — `,_jsx(_components.code,{children:`status: failed`}),`, `,_jsx(_components.code,{children:`error_code: \"first_frame_too_small\"`}),`, hold refunded.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`/errors#prompt_blocked`,children:_jsx(_components.code,{children:`prompt_blocked`})})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Prompt rejected by content policy.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`/errors#balance_too_low`,children:_jsx(_components.code,{children:`balance_too_low`})})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`402`}),_jsx(_components.td,{children:`Available balance is below the required hold.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`/errors#resource_not_found`,children:_jsx(_components.code,{children:`resource_not_found`})})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`404`}),_jsxs(_components.td,{children:[`Unknown or cross-team `,_jsx(_components.code,{children:`character_id`}),`, reference image, or pinned video model.`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/errors`,children:`Errors`}),` for the complete catalog, retry policy, and the `,_jsx(_components.code,{children:`request_id`}),` support workflow.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create a video","description":"Submit a video generation — text-to-video, image-to-video, or subject-driven with a saved character or reference images.","openapi":"POST /v1/videos","href":"/api-reference/videos/create-video"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Text-to-video","slug":"text-to-video","depth":2,"children":[]},{"title":"Image-to-video","slug":"image-to-video","depth":2,"children":[{"title":"Start from a still with a video model","slug":"start-from-a-still-with-a-video-model","depth":3,"children":[]},{"title":"Minimum frame size","slug":"minimum-frame-size","depth":3,"children":[]}]},{"title":"Subject-driven video","slug":"subject-driven-video","depth":2,"children":[]},{"title":"Choosing a video model","slug":"choosing-a-video-model","depth":2,"children":[]},{"title":"Duration and cost","slug":"duration-and-cost","depth":2,"children":[{"title":"Adaptive duration (the default)","slug":"adaptive-duration-the-default","depth":3,"children":[]},{"title":"Fixed duration","slug":"fixed-duration","depth":3,"children":[]}]},{"title":"Audio","slug":"audio","depth":2,"children":[]},{"title":"Output","slug":"output","depth":2,"children":[]},{"title":"Webhooks","slug":"webhooks","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Submit a video generation — text-to-video, image-to-video, or subject-driven with a saved character or reference images.","operationId":"V1VideosController_createVideoGeneration","parameters":["0f0365f9-af8c-445b-8bdd-6a34c3e760ac","e25a99e2-9feb-4b23-9cb1-3ff3e48c4c0e"],"requestBody":"4b26a89b-bc2c-480c-a07a-748ad7d9ab33","responses":{"201":"a26a485f-0bdd-40fa-ba3f-80253f5182be","400":"f7d66f1f-1cf9-4113-9410-aef192a7e644","401":"4663d932-5610-4dbc-a44c-fb56a2d55157","402":"f2ae5811-4285-47de-b435-c5242342a9cf","403":"227dfe55-c83e-466a-b694-e2d2a5efa1a7","404":"ed11f5e6-0c2f-4927-8d97-f79bc92be075","409":"11369926-0175-4c9e-8df9-433f0be286b3","429":"933c8d77-6806-4465-959b-496b4c51750b","503":"9b2e2704-e47e-4e8d-b2ca-171edbcecc58"},"security":["6a6db774-e7d7-40c6-b4b0-04090657f3c2"],"summary":"Create a new video generation","tags":["Public API (v1)"],"method":"post","type":"path","servers":["3c5b35fe-5556-4c2f-b6fe-ccd0ce11e7d4","06ffff55-b13c-4345-afa1-017ab3f24f1d"],"path":"/v1/videos","baseUrlOptions":["https://api.aurous-labs.com","https://api.preprod.aurous-labs.com"],"title":"Create a new video generation","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"0f0365f9-af8c-445b-8bdd-6a34c3e760ac":{"name":"Idempotency-Key","in":"header","description":"Optional key to safely retry a request. Replaying the same key within 24h returns the original response with `Aurous-Idempotent-Replayed: true` and never creates a second generation; reusing a key with a different body returns 409 `idempotency_key_in_use`. A request that failed validation is not cached — retry it with the same key. Same contract as POST /v1/images.","required":false,"schema":{"type":"string","isRequired":false,"description":"Optional key to safely retry a request. Replaying the same key within 24h returns the original response with `Aurous-Idempotent-Replayed: true` and never creates a second generation; reusing a key with a different body returns 409 `idempotency_key_in_use`. A request that failed validation is not cached — retry it with the same key. Same contract as POST /v1/images.","uniqueKey":"","typeLabel":"string"}},"e25a99e2-9feb-4b23-9cb1-3ff3e48c4c0e":{"name":"Aurous-Version","in":"header","required":false,"description":"Optional API version pin (YYYY-MM-DD). Omit the header to receive the platform default, currently `2026-08-26`.","schema":{"type":"string","example":"2026-08-26","pattern":"^\\d{4}-\\d{2}-\\d{2}$","isRequired":false,"description":"Optional API version pin (YYYY-MM-DD). Omit the header to receive the platform default, currently `2026-08-26`.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"prompt":{"type":"string","description":"Text prompt describing the video. Optional when the request carries another content source: a `first_frame_url` (image-to-video), a `reference_video_url` (reference-to-video), or a pinned `video_lora_id` (the video model supplies the motion and, when nothing else is sent, generates its own subject). Subject-driven generation (`subjects[]`, `character_id`, or `reference_image_urls`) still requires a prompt describing the action unless a video model is pinned or a reference video is attached. A request with none of the four sources returns 400 `missing_field`.","example":"A golden sunset over the ocean with gentle waves","uniqueKey":"prompt","typeLabel":"string"},"video_lora_id":{"oneOf":[{"type":"string","description":"Optional, and TRI-STATE. An id (or slug, where one is set) from GET /v1/video_loras pins a specific video model. A pinned model is also a complete request on its own: send just `video_lora_id` — no prompt — and the model generates its own subject and motion; add `subjects[]` (or the legacy `character_id`/`reference_image_urls`) to cast specific people, still with no prompt required. Only a pinned id substitutes for a prompt — `null` never does, and an empty string is treated as omitted. A pin cannot combine with `reference_video_url` (400 `parameter_invalid_combination`): both supply the motion. If OMITTED, the platform picks a suitable model for you: matching reads your prompt, or — when `first_frame_url` is attached — what the IMAGE shows. If none matches, your request is generated as plain video, plain image-to-video, or (with a subject attached) a subject-driven video; matching never fails the request. Send NULL to opt out of IMAGE-based matching — meaningful only when `first_frame_url` is attached, where it guarantees plain image-to-video. WITHOUT a first frame, `null` behaves exactly like omitting the field and your prompt is still auto-matched; pin an id if you need a specific model. A first frame plus a pinned or matched model reports `inference_type: \"r2v\"` and starts NEAR your image rather than exactly on it. PRICING: a pinned or matched model also supplies `default_resolution` and `default_ratio` alongside `default_duration` for whatever you left out (anything you send explicitly wins), and all three are priced — so `null` on an otherwise-bare first-frame request falls back to adaptive duration at 1080p and costs ~2.8x the same still with a model pinned. Send `duration` and `resolution` alongside `null` if you want the exact-frame guarantee at a predictable price.","example":"action_01HXMQ7Z3K8Y2VNABCDEFGHJKM","uniqueKey":"video_lora_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional, and TRI-STATE. An id (or slug, where one is set) from GET /v1/video_loras pins a specific video model. A pinned model is also a complete request on its own: send just `video_lora_id` — no prompt — and the model generates its own subject and motion; add `subjects[]` (or the legacy `character_id`/`reference_image_urls`) to cast specific people, still with no prompt required. Only a pinned id substitutes for a prompt — `null` never does, and an empty string is treated as omitted. A pin cannot combine with `reference_video_url` (400 `parameter_invalid_combination`): both supply the motion. If OMITTED, the platform picks a suitable model for you: matching reads your prompt, or — when `first_frame_url` is attached — what the IMAGE shows. If none matches, your request is generated as plain video, plain image-to-video, or (with a subject attached) a subject-driven video; matching never fails the request. Send NULL to opt out of IMAGE-based matching — meaningful only when `first_frame_url` is attached, where it guarantees plain image-to-video. WITHOUT a first frame, `null` behaves exactly like omitting the field and your prompt is still auto-matched; pin an id if you need a specific model. A first frame plus a pinned or matched model reports `inference_type: \"r2v\"` and starts NEAR your image rather than exactly on it. PRICING: a pinned or matched model also supplies `default_resolution` and `default_ratio` alongside `default_duration` for whatever you left out (anything you send explicitly wins), and all three are priced — so `null` on an otherwise-bare first-frame request falls back to adaptive duration at 1080p and costs ~2.8x the same still with a model pinned. Send `duration` and `resolution` alongside `null` if you want the exact-frame guarantee at a predictable price.","example":"action_01HXMQ7Z3K8Y2VNABCDEFGHJKM","uniqueKey":"video_lora_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"video_lora_id","typeLabel":"string | null"},"character_id":{"type":"string","description":"Drive the video from a saved character (reference-to-video). Must be `status: ready` — otherwise 400 `character_not_ready`. Cross-team ids 404 (existence never leaked). Mutually exclusive with `reference_image_urls` (→ 400 `mutually_exclusive_input`) and with `first_frame_url`/`last_frame_url` (→ 400 `parameter_invalid_combination`). Omit both a subject and a frame for plain text-to-video. Superseded by `subjects[]` (which also supports multi-person casts); fully supported — successful responses carry an advisory `Deprecation: true` header when this field is used.","example":"char_01HXMQ7Z3K8Y2VNABCDEFGHJKM","deprecated":true,"uniqueKey":"character_id","typeLabel":"string"},"reference_image_urls":{"description":"Up to 6 subject reference images — each a `file_\u003culid>` (POST /v1/files) or an `https://` URL (SSRF-pinned server-side fetch). Image files only: a `file_\u003culid>` uploaded with purpose `reference_video`/`reference_audio` is rejected (400 `invalid_format`). The subject is anchored across the video. Mutually exclusive with `character_id` and with `first_frame_url`/`last_frame_url`. Superseded by `subjects[]` (which also supports multi-person casts); fully supported — successful responses carry an advisory `Deprecation: true` header when this field is used.","example":["file_01HXMQ7Z3K8Y2NABCDEFGHJKMN","https://example.com/ref2.jpg"],"minItems":0,"maxItems":6,"deprecated":true,"type":"array","items":{"type":"string","uniqueKey":"reference_image_urls.items.[INDEX]","typeLabel":"string"},"uniqueKey":"reference_image_urls","typeLabel":"string[]"},"subjects":{"maxItems":2,"description":"Ordered cast for a multi-person video. Up to 2 subjects per generation (current engine limit — may increase; exceeding it returns 400 parameter_invalid_combination). Each subject is a saved character or its own group of 1–4 reference images; character and reference subjects can be mixed. Supersedes the single-subject `character_id`/`reference_image_urls` fields — sending both shapes returns 400 mutually_exclusive_input. A cast may accompany `reference_video_url` (the clip supplies motion, the cast supplies identity) but not `video_task: \"extend\"` and not `first_frame_url`/`last_frame_url`. Duplicate characters or a reference image reused across subjects return 400. Empty array is treated as omitted.","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["character","reference"],"example":"character","description":"Subject kind.","isRequired":true,"uniqueKey":"subjects.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"character_id":{"type":"string","example":"char_01HXMQ7Z3K8Y2VNABCDEFGHJKM","description":"Required for `character` subjects (and must be omitted for `reference` subjects — 400 `parameter_invalid_combination`). `char_\u003culid>` or legacy UUID; must be a ready character your team owns.","uniqueKey":"subjects.items.[INDEX].character_id","typeLabel":"string"},"image_urls":{"minItems":1,"maxItems":4,"example":["file_01HXMQ7Z3K8Y2NABCDEFGHJKMN"],"description":"Required for `reference` subjects (and must be omitted for `character` subjects — 400 `parameter_invalid_combination`). 1–4 `file_\u003culid>` IDs (POST /v1/files) or https URLs. Image files only: a `file_\u003culid>` uploaded with purpose `reference_video`/`reference_audio` is rejected (400 `invalid_format`). The clearest full-body and portrait views are selected automatically to anchor this person across the video.","type":"array","items":{"type":"string","uniqueKey":"subjects.items.[INDEX].image_urls.items.[INDEX]","typeLabel":"string"},"uniqueKey":"subjects.items.[INDEX].image_urls","typeLabel":"string[]"}},"required":["type"],"uniqueKey":"subjects.items.[INDEX]","typeLabel":"object"},"uniqueKey":"subjects","typeLabel":"object[]"},"first_frame_url":{"type":"string","description":"First frame for image-to-video / first+last frame interpolation. Either an opaque `file_\u003culid>` ID returned by POST /v1/files, or an `https://` URL pointing at a public host (max 2048 chars). Image files only — a `file_\u003culid>` uploaded with purpose `reference_video`/`reference_audio` is rejected (400 `invalid_format`). URLs are server-side fetched through an SSRF-pinned client (rejects private IPs / cloud metadata). MINIMUM SIZE — when a video model is pinned or left to auto-match, this frame is upscaled into a short seed clip, so it must be at least 64 px on its shortest side AND at least 6,400 px in total (80x80 is the smallest square accepted; at a 64 px short side the long side needs 100). A `file_\u003culid>` below that returns 400 `first_frame_too_small` before any credit hold (dimensions were measured at upload); an `https://` URL is accepted and settles at `status: failed` with `error_code: \"first_frame_too_small\"` and a full refund, because validation never fetches the bytes. The check runs on the POSSIBILITY of a model, not on one actually being used — an un-pinned frame is rejected even if no model would have matched your image. No minimum applies with `video_lora_id: null`, nor when a `last_frame_url` rides alongside — a first+last pair never auto-matches and builds no seed clip either, so no `first_frame_too_small` ever fires on an interpolation request.","example":"file_01HXMQ7Z3K8Y2NABCDEFGHJKMN","maxLength":2048,"uniqueKey":"first_frame_url","typeLabel":"string"},"last_frame_url":{"type":"string","description":"Last frame for first+last frame interpolation. Same rules as first_frame_url. Requires `first_frame_url` — sending `last_frame_url` alone returns 400 with code `parameter_invalid_combination`.","example":"https://example.com/last.jpg","maxLength":2048,"uniqueKey":"last_frame_url","typeLabel":"string"},"resolution":{"type":"string","description":"Output video resolution","enum":["480p","720p","1080p"],"uniqueKey":"resolution","typeLabel":"enum\u003cstring>"},"ratio":{"type":"string","description":"Output video aspect ratio","enum":["16:9","4:3","1:1","3:4","9:16","21:9","adaptive"],"uniqueKey":"ratio","typeLabel":"enum\u003cstring>"},"duration":{"type":"number","description":"Video length in seconds. Pass -1 for ADAPTIVE (default): the model selects the optimal whole-second length within its supported range (currently 4–15 s) and you are billed for the delivered length — a VARIABLE price. Call POST /v1/videos/estimate to see the min–max range before submitting. Pass a whole number 4–15 to pin a fixed length (fixed price). Omitting uses the video model's default length when your request pins or is matched to one; otherwise adaptive (-1). Adaptive holds the 15 s ceiling from your balance until it settles.","enum":[-1,4,5,6,7,8,9,10,11,12,13,14,15],"example":5,"uniqueKey":"duration","typeLabel":"enum\u003cnumber>"},"generate_audio":{"type":"boolean","description":"Whether the generated video includes synchronized audio. Defaults to the selected video model's audio setting (currently true for all models unless noted on the model).","uniqueKey":"generate_audio","typeLabel":"boolean"},"watermark":{"type":"boolean","description":"Whether to add watermark","uniqueKey":"watermark","typeLabel":"boolean"},"enhance_prompt":{"type":"boolean","description":"Whether to enhance the prompt with AI. A no-op on requests without a prompt (model-driven and reference-driven bodies): nothing to enhance, nothing charged.","uniqueKey":"enhance_prompt","typeLabel":"boolean"},"reference_video_url":{"type":"string","description":"Your reference video — the motion source for a reference-mode generation, or the clip to continue when `video_task` is `extend`. Either an opaque `file_\u003culid>` returned by POST /v1/files (uploaded with `purpose: reference_video` — format/duration/resolution were already validated at upload), or an HTTPS URL. Requirements: MP4 or MOV (H.264/H.265), 2–15 seconds, up to 50 MB, frame area of at least 409,600 px (≈640×640). Clips above 2,073,600 px (1920×1080, ≈1080p) are downscaled to fit before use, preserving aspect ratio, duration and audio. That downscale runs while this request is open, so a large clip adds seconds before the `201` — allow a client timeout of at least 120 s and send an `Idempotency-Key` — and uploading it once via POST /v1/files moves that cost off the create call. URLs must be publicly fetchable or pre-signed, serve HTTPS directly (redirects are refused — pass the final URL), and respond within the fetch budget. Cannot be combined with `first_frame_url`/`last_frame_url`. While the reference is prepared the generation stays in `processing` — see the endpoint description for timing.","example":"https://cdn.example.com/clips/dance-loop.mp4","maxLength":2048,"uniqueKey":"reference_video_url","typeLabel":"string"},"reference_audio_url":{"type":"string","description":"An audio reference (voice, music, or ambience) to guide the generated soundtrack — either a `file_\u003culid>` from POST /v1/files (`purpose: reference_audio`) or an HTTPS URL. WAV or MP3, 2–15 seconds, up to 15 MB. Needs a companion — a reference video, a subject (`subjects[]` or the legacy fields), or a pinned `video_lora_id` — and requires audio output (`generate_audio` must not be false). Same URL rules as `reference_video_url` (public or signed HTTPS, no redirects).","example":"https://cdn.example.com/audio/voiceover.mp3","maxLength":2048,"uniqueKey":"reference_audio_url","typeLabel":"string"},"video_task":{"type":"string","description":"What to do with `reference_video_url`. `reference` (default): generate a new scene that borrows the clip's motion. `extend`: continue the clip itself in `extend_direction`; extend takes the clip as-is, so it cannot be combined with `video_lora_id`. Only valid when `reference_video_url` is present.","enum":["reference","extend"],"default":"reference","uniqueKey":"video_task","typeLabel":"enum\u003cstring>"},"extend_direction":{"type":"string","description":"Direction to continue the clip when `video_task` is `extend`. Defaults to `forward`. Only valid with `video_task: \"extend\"`.","enum":["forward","backward"],"default":"forward","uniqueKey":"extend_direction","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"prompt":"A golden sunset over the ocean with gentle waves","video_lora_id":"action_01HXMQ7Z3K8Y2VNABCDEFGHJKM","character_id":"char_01HXMQ7Z3K8Y2VNABCDEFGHJKM","reference_image_urls":["file_01HXMQ7Z3K8Y2NABCDEFGHJKMN","https://example.com/ref2.jpg"],"subjects":[{"type":"character","character_id":"char_01HXMQ7Z3K8Y2VNABCDEFGHJKM","image_urls":["file_01HXMQ7Z3K8Y2NABCDEFGHJKMN"]}],"first_frame_url":"file_01HXMQ7Z3K8Y2NABCDEFGHJKMN","last_frame_url":"https://example.com/last.jpg","duration":5,"generate_audio":true,"watermark":true,"enhance_prompt":true,"reference_video_url":"https://cdn.example.com/clips/dance-loop.mp4","reference_audio_url":"https://cdn.example.com/audio/voiceover.mp3","video_task":"reference","extend_direction":"forward"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"a26a485f-0bdd-40fa-ba3f-80253f5182be":{"description":"Video generation created","content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string","description":"Discriminator — always `inference`. Mirrors OpenAI's `object`-field convention so SDK clients can branch on the resource type without inspecting the ID prefix. A single canonical value (`inference`) covers both image and video generations; use `media_type` to distinguish the rendering kind.","example":"inference","enum":["inference"],"default":"inference","isRequired":true,"uniqueKey":"object","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"Opaque generation ID","example":"img_01HXMQ7Z3K8Y2VNABCDEFGHJKM","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"status":{"type":"string","description":"Current generation status. Lifecycle: `pending` (created, awaiting dispatch) → `processing` (running) → one of the terminal values `succeeded` / `failed` / `cancelled`. Additional terminal values may be introduced in future API versions and will be announced via the changelog before they appear on the wire.","example":"succeeded","enum":["pending","processing","succeeded","failed","cancelled"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"prompt":{"oneOf":[{"type":"string","description":"The text prompt used for generation, echoing the prompt submitted on the request. `null` when the generation was created without one — for example a video driven by a pinned video model (`video_lora_id` alone, or with a cast). Always read this field as nullable.","example":"A golden sunset over mountains, cinematic lighting","isRequired":true,"uniqueKey":"prompt.oneOf.0","typeLabel":"string"},{"type":"null","description":"The text prompt used for generation, echoing the prompt submitted on the request. `null` when the generation was created without one — for example a video driven by a pinned video model (`video_lora_id` alone, or with a cast). Always read this field as nullable.","example":"A golden sunset over mountains, cinematic lighting","isRequired":true,"uniqueKey":"prompt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"prompt","typeLabel":"string | null"},"created_at":{"type":"string","description":"Creation timestamp (ISO 8601)","example":"2026-05-04T10:00:00Z","isRequired":true,"uniqueKey":"created_at","typeLabel":"string"},"media_type":{"oneOf":[{"type":"string","description":"Distinguishes image vs video generation. May be null for older rows minted before this column existed.","example":"image","enum":["image","video"],"uniqueKey":"media_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Distinguishes image vs video generation. May be null for older rows minted before this column existed.","example":"image","enum":["image","video"],"uniqueKey":"media_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"media_type","typeLabel":"enum\u003cstring> | null"},"output_urls":{"oneOf":[{"description":"Generated image proxy URLs. Each URL is anonymous-read (no auth header required) and may be cached at the edge. Outputs are kept for up to 30 days after generation (an output that could not be copied expires with the provider link: ~7 days for images, ~24 hours for videos). Save what you want to keep for longer. URLs return 410 Gone after expiry.","example":["https://api.aurous-labs.com/v1/images/img_01HXMQ7Z3K8Y2VNABCDEFGHJKM/output/0"],"type":"array","items":{"type":"string","uniqueKey":"output_urls.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"output_urls.oneOf.0","typeLabel":"string[]"},{"description":"Generated image proxy URLs. Each URL is anonymous-read (no auth header required) and may be cached at the edge. Outputs are kept for up to 30 days after generation (an output that could not be copied expires with the provider link: ~7 days for images, ~24 hours for videos). Save what you want to keep for longer. URLs return 410 Gone after expiry.","example":["https://api.aurous-labs.com/v1/images/img_01HXMQ7Z3K8Y2VNABCDEFGHJKM/output/0"],"type":"null","items":{"type":"string"},"uniqueKey":"output_urls.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_urls","typeLabel":"string[] | null"},"video_url":{"oneOf":[{"type":"string","description":"Generated video proxy URL (only present on `media_type: video`). The `token` in the URL is valid for 1 hour; fetch the generation again for a fresh URL. Outputs are kept for up to 30 days after generation (an output that could not be copied expires with the provider link: ~7 days for images, ~24 hours for videos).","example":"https://api.aurous-labs.com/v1/videos/vid_01HXMQ7Z3K8Y2VNABCDEFGHJKM/output?token=...","uniqueKey":"video_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"Generated video proxy URL (only present on `media_type: video`). The `token` in the URL is valid for 1 hour; fetch the generation again for a fresh URL. Outputs are kept for up to 30 days after generation (an output that could not be copied expires with the provider link: ~7 days for images, ~24 hours for videos).","example":"https://api.aurous-labs.com/v1/videos/vid_01HXMQ7Z3K8Y2VNABCDEFGHJKM/output?token=...","uniqueKey":"video_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"video_url","typeLabel":"string | null"},"reference_image_urls":{"oneOf":[{"description":"The reference image URLs you supplied as visual anchors for this generation, echoed back (snapshotted at inference time). Present only when the generation was driven by your own reference images (`reference_image_urls` or `reference` subjects). Omitted entirely for character-driven generations — a character's reference images are managed platform assets and are never echoed.","example":["https://example.com/ref1.jpg"],"type":"array","items":{"type":"string","uniqueKey":"reference_image_urls.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"reference_image_urls.oneOf.0","typeLabel":"string[]"},{"description":"The reference image URLs you supplied as visual anchors for this generation, echoed back (snapshotted at inference time). Present only when the generation was driven by your own reference images (`reference_image_urls` or `reference` subjects). Omitted entirely for character-driven generations — a character's reference images are managed platform assets and are never echoed.","example":["https://example.com/ref1.jpg"],"type":"null","items":{"type":"string"},"uniqueKey":"reference_image_urls.oneOf.1","typeLabel":"null"}],"uniqueKey":"reference_image_urls","typeLabel":"string[] | null"},"error_message":{"oneOf":[{"type":"string","description":"Human-readable error message if the generation failed. Non-contractual prose — do not parse or match on this value. Switch on error_code instead.","example":"Content policy violation","uniqueKey":"error_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Human-readable error message if the generation failed. Non-contractual prose — do not parse or match on this value. Switch on error_code instead.","example":"Content policy violation","uniqueKey":"error_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"error_message","typeLabel":"string | null"},"error_code":{"oneOf":[{"type":"string","description":"Machine-readable failure reason when `status` is `failed`, for the cases where you need to branch in code. `null` on every successful generation, on failures recorded before this field existed, and on failure paths that have no stable code — `error_message` is human-facing copy that is re-tuned over time, so never pattern-match it. Currently emitted: `generation_interrupted`, `reference_preparation_failed`, `content_filtered`, `generation_failed`, `first_frame_too_small` (an `https://` `first_frame_url` attached to a video model whose dimensions were below the minimum — a `file_\u003culid>` frame is rejected with the same code as a `400` before any credits are held; see [Errors](/errors)), `reference_blocked` (a supplied reference image was declined by a content check — the same code `POST` requests receive synchronously when our own pre-generation check rejects a reference; here it surfaces asynchronously on a `failed` generation instead, see [Errors](/errors#reference_blocked)), and `output_moderation_rejected` (a content check declined the rendered output itself, after generation — always async, since there is nothing to check before the output exists; the hold is fully refunded (`cost.refunded: true`) and no output URLs are ever produced for that id, see [Errors](/errors#output_moderation_rejected)). The set is additive: new codes may appear, so treat an unrecognized value as a generic failure, keep a default branch in your switch statement, and fall back to `error_message`.","example":"generation_interrupted","uniqueKey":"error_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Machine-readable failure reason when `status` is `failed`, for the cases where you need to branch in code. `null` on every successful generation, on failures recorded before this field existed, and on failure paths that have no stable code — `error_message` is human-facing copy that is re-tuned over time, so never pattern-match it. Currently emitted: `generation_interrupted`, `reference_preparation_failed`, `content_filtered`, `generation_failed`, `first_frame_too_small` (an `https://` `first_frame_url` attached to a video model whose dimensions were below the minimum — a `file_\u003culid>` frame is rejected with the same code as a `400` before any credits are held; see [Errors](/errors)), `reference_blocked` (a supplied reference image was declined by a content check — the same code `POST` requests receive synchronously when our own pre-generation check rejects a reference; here it surfaces asynchronously on a `failed` generation instead, see [Errors](/errors#reference_blocked)), and `output_moderation_rejected` (a content check declined the rendered output itself, after generation — always async, since there is nothing to check before the output exists; the hold is fully refunded (`cost.refunded: true`) and no output URLs are ever produced for that id, see [Errors](/errors#output_moderation_rejected)). The set is additive: new codes may appear, so treat an unrecognized value as a generic failure, keep a default branch in your switch statement, and fall back to `error_message`.","example":"generation_interrupted","uniqueKey":"error_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"error_code","typeLabel":"string | null"},"duration_ms":{"oneOf":[{"type":"integer","description":"Processing duration in milliseconds (set on terminal status)","example":14820,"uniqueKey":"duration_ms.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Processing duration in milliseconds (set on terminal status)","example":14820,"uniqueKey":"duration_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"duration_ms","typeLabel":"integer | null"},"cost":{"oneOf":[{"type":"object","description":"Per-generation cost breakdown — same shape as the `estimated_cost` returned by `POST /v1/{images,videos}/estimate`. May be `null` for older rows from before this field existed; populated for all new generations. The `amount` reflects the committed charge for terminal-status rows — `0` (with `refunded: true`) on a `failed` generation, since the reserved hold was released, never charged.","required":["amount","currency","breakdown"],"example":{"amount":6.5,"currency":"credit","breakdown":{"base":6.5,"size_tier":"standard"}},"properties":{"amount":{"type":"number","description":"Total credit cost charged for this generation. For images, `amount` equals the sum of the numeric line items in `breakdown` other than `discount_factor` (a multiplier, not a credit amount) — see `breakdown` below for the full image key set. For videos this is the token-based charge (not a sum of breakdown values); trust `amount` as the authoritative figure.","example":2,"isRequired":true,"uniqueKey":"cost.oneOf.0.amount","typeLabel":"number"},"currency":{"type":"string","description":"Currency unit. Always `credit` at v1.0.","example":"credit","enum":["credit"],"isRequired":true,"uniqueKey":"cost.oneOf.0.currency","typeLabel":"enum\u003cstring>"},"breakdown":{"type":"object","description":"Cost breakdown components, keyed by source. Image keys: `base` (credits, always present, summable) and `size_tier` (a STRING — `standard` for output \u003c= 2.36 MP, `large` above; never summable, skip it when reproducing `amount`). Reference images are free and do not add line items. When the team has a negotiated discount, an additional `discount_factor` line is present (multiplier, not a credit amount). For VIDEO the breakdown keys shift across the lifecycle. At HOLD time (the create 201, and while `pending`/`processing`) it carries `pricing_model` (always `video_tokens_v1`), `tokens_max` (the CEILING token count the hold was sized at), `credits_held` (the reserved credits), `video_input` (boolean), `resolution`, plus optional `enhance_flat_credits`/`discount_factor`. Once the video SETTLES (`status: succeeded`) the breakdown carries the ACTUAL figures instead: `tokens` (the realized token count — a DISTINCT key from the hold-time `tokens_max`, not a rename of it), `credits` (the settled charge), `credits_held` (the original ceiling), and `settled: true`. Video breakdown is NOT additive — `amount` is the authoritative charge, computed from the token count and per-model rate table. On a `refunded` generation, `breakdown` still reflects the original projection (what the attempt was priced at) even though `amount` is `0` — compare the two to see what you were NOT charged for. Values are typed `number | string | boolean`: image breakdowns already mix a numeric `base` with the string `size_tier`, and video metadata like `pricing_model`/`resolution` are strings and `video_input`/`settled` are booleans, so read by name and ignore unknown keys (the field set is OPEN).","example":{"pricing_model":"video_tokens_v1","tokens":108000,"credits":42,"credits_held":51.75,"video_input":false,"resolution":"720p","settled":true},"isRequired":true,"uniqueKey":"cost.oneOf.0.breakdown","typeLabel":"object"},"refunded":{"type":"boolean","description":"True when the reserved credit hold for this generation was released without any charge — `amount` is `0` in that case, not the amount originally held. Set only on `failed` generations. Omitted (absent) on `succeeded`, `pending`, and `processing` rows.","example":true,"uniqueKey":"cost.oneOf.0.refunded","typeLabel":"boolean"}},"uniqueKey":"cost.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"cost.oneOf.1","typeLabel":"null"}],"uniqueKey":"cost","typeLabel":"object | null"},"width":{"type":"number","description":"Resolved output image width in pixels (image generations only). This is the post-snap REQUESTED dimension: it may differ from a custom-requested `width` by up to 31 px due to multiple-of-32 snapping, and combined with `height` it is what determined the billing tier — output pixels (width × height) \u003c= 2,360,000 bill the standard tier, above that the large tier (see `GET /v1/models`). It is NOT a guarantee of the delivered file: a request carrying `subjects[]`, `character_id`, `reference_image_urls` or `context_images` renders under a 4,624,220 px (~4.6 MP) output ceiling and is scaled down to fit, preserving aspect ratio, so the delivered image is smaller than this value. Read the returned image for its true size.","example":1472,"uniqueKey":"width","typeLabel":"number"},"height":{"type":"number","description":"Resolved output image height in pixels (image generations only). This is the post-snap REQUESTED dimension: it may differ from a custom-requested `height` by up to 31 px due to multiple-of-32 snapping, and combined with `width` it is what determined the billing tier — output pixels (width × height) \u003c= 2,360,000 bill the standard tier, above that the large tier (see `GET /v1/models`). It is NOT a guarantee of the delivered file: a request carrying `subjects[]`, `character_id`, `reference_image_urls` or `context_images` renders under a 4,624,220 px (~4.6 MP) output ceiling and is scaled down to fit, preserving aspect ratio, so the delivered image is smaller than this value. Read the returned image for its true size.","example":1472,"uniqueKey":"height","typeLabel":"number"},"image_count":{"type":"number","description":"Number of images in the batch. Reflects the requested `count` while the generation is running; on a terminal status it reflects the number actually DELIVERED — when part of a batch fails you receive the successful images, this count re-stamps to match, and the difference is refunded automatically.","example":1,"uniqueKey":"image_count","typeLabel":"number"},"size_preset":{"oneOf":[{"type":"string","description":"Named size preset applied to this generation. `null` when the request used custom `width`/`height` instead of a preset. Format is `\u003ctier>_\u003cratio>` where tier is `1_5k`, `2k`, or `4k`. Every `1_5k_*` preset bills the standard pricing tier (output pixels \u003c= 2,360,000); every `2k_*`/`4k_*` preset bills the large tier — see `GET /v1/models`.","example":"1_5k_1_1","enum":["1_5k_1_1","1_5k_3_2","1_5k_2_3","1_5k_4_3","1_5k_3_4","1_5k_16_9","1_5k_9_16","1_5k_21_9","2k_1_1","2k_3_2","2k_2_3","2k_4_3","2k_3_4","2k_16_9","2k_9_16","2k_21_9","4k_1_1","4k_3_2","4k_2_3","4k_4_3","4k_3_4","4k_16_9","4k_9_16","4k_21_9"],"uniqueKey":"size_preset.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Named size preset applied to this generation. `null` when the request used custom `width`/`height` instead of a preset. Format is `\u003ctier>_\u003cratio>` where tier is `1_5k`, `2k`, or `4k`. Every `1_5k_*` preset bills the standard pricing tier (output pixels \u003c= 2,360,000); every `2k_*`/`4k_*` preset bills the large tier — see `GET /v1/models`.","example":"1_5k_1_1","enum":["1_5k_1_1","1_5k_3_2","1_5k_2_3","1_5k_4_3","1_5k_3_4","1_5k_16_9","1_5k_9_16","1_5k_21_9","2k_1_1","2k_3_2","2k_2_3","2k_4_3","2k_3_4","2k_16_9","2k_9_16","2k_21_9","4k_1_1","4k_3_2","4k_2_3","4k_4_3","4k_3_4","4k_16_9","4k_9_16","4k_21_9"],"uniqueKey":"size_preset.oneOf.1","typeLabel":"null"}],"uniqueKey":"size_preset","typeLabel":"enum\u003cstring> | null"},"inference_type":{"oneOf":[{"type":"string","description":"Inference mode dispatched. Images: `t2i` (text-to-image) — reference images and characters are supplementary inputs to the t2i flow, not a separate mode. Videos (this list also returns `vid_*` rows): `t2v` (text-to-video), `i2v` (image-to-video — frame-driven, subject-driven, or a pinned video model on its own), or `r2v` (reference mode — the generation was driven by a motion reference). `r2v` does NOT imply you supplied that reference: it covers BOTH your own clip sent as `reference_video_url` AND a platform-built reference, produced when a first frame rides with a video model (pinned via `video_lora_id`, or auto-matched from the image). On the platform-built variant `reference_video_url` is `null` — branch on that field, not on `inference_type`, to tell the two apart. Treat any value not listed here as opaque — the set grows over time.","example":"t2i","uniqueKey":"inference_type.oneOf.0","typeLabel":"string"},{"type":"null","description":"Inference mode dispatched. Images: `t2i` (text-to-image) — reference images and characters are supplementary inputs to the t2i flow, not a separate mode. Videos (this list also returns `vid_*` rows): `t2v` (text-to-video), `i2v` (image-to-video — frame-driven, subject-driven, or a pinned video model on its own), or `r2v` (reference mode — the generation was driven by a motion reference). `r2v` does NOT imply you supplied that reference: it covers BOTH your own clip sent as `reference_video_url` AND a platform-built reference, produced when a first frame rides with a video model (pinned via `video_lora_id`, or auto-matched from the image). On the platform-built variant `reference_video_url` is `null` — branch on that field, not on `inference_type`, to tell the two apart. Treat any value not listed here as opaque — the set grows over time.","example":"t2i","uniqueKey":"inference_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"inference_type","typeLabel":"string | null"},"cfg_rescale":{"oneOf":[{"type":"number","description":"CFG rescale factor the customer supplied on the request body, echoed back here. Range 0.0-1.0. Omitted when the customer did not supply a per-request value (the platform applied a precedence-chain default — LoRA, character override, or the global 0.7 — which is not exposed on the response).","example":0.7,"minimum":0,"maximum":1,"uniqueKey":"cfg_rescale.oneOf.0","typeLabel":"number"},{"type":"null","description":"CFG rescale factor the customer supplied on the request body, echoed back here. Range 0.0-1.0. Omitted when the customer did not supply a per-request value (the platform applied a precedence-chain default — LoRA, character override, or the global 0.7 — which is not exposed on the response).","example":0.7,"minimum":0,"maximum":1,"uniqueKey":"cfg_rescale.oneOf.1","typeLabel":"null"}],"uniqueKey":"cfg_rescale","typeLabel":"number | null"},"denoise_strength":{"oneOf":[{"type":"number","description":"Denoising strength the customer supplied on the request body, echoed back here. Range 0.0-1.0. Omitted when the customer did not supply a value or when the generation was a bare text-to-image request (denoise is only applied when reference images or a character are attached).","example":0.6,"minimum":0,"maximum":1,"uniqueKey":"denoise_strength.oneOf.0","typeLabel":"number"},{"type":"null","description":"Denoising strength the customer supplied on the request body, echoed back here. Range 0.0-1.0. Omitted when the customer did not supply a value or when the generation was a bare text-to-image request (denoise is only applied when reference images or a character are attached).","example":0.6,"minimum":0,"maximum":1,"uniqueKey":"denoise_strength.oneOf.1","typeLabel":"null"}],"uniqueKey":"denoise_strength","typeLabel":"number | null"},"seed":{"oneOf":[{"type":"integer","description":"The random seed the model actually used for this image generation. Populated even when you omit `seed` on the request — the platform requests a random seed and records the concrete value the provider rolled, so you can reproduce the result by passing it back as `seed`. Available once `status` is `succeeded`; `null` before then and for `failed`/`cancelled` generations. For multi-image batches (`image_count` > 1) this is the seed of the first image (`output_urls[0]`); per-image seeds are not yet exposed. Image generations only.","example":819572108,"uniqueKey":"seed.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The random seed the model actually used for this image generation. Populated even when you omit `seed` on the request — the platform requests a random seed and records the concrete value the provider rolled, so you can reproduce the result by passing it back as `seed`. Available once `status` is `succeeded`; `null` before then and for `failed`/`cancelled` generations. For multi-image batches (`image_count` > 1) this is the seed of the first image (`output_urls[0]`); per-image seeds are not yet exposed. Image generations only.","example":819572108,"uniqueKey":"seed.oneOf.1","typeLabel":"null"}],"uniqueKey":"seed","typeLabel":"integer | null"},"video_duration":{"oneOf":[{"type":"integer","description":"Video duration in seconds (video generations only)","example":5,"uniqueKey":"video_duration.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Video duration in seconds (video generations only)","example":5,"uniqueKey":"video_duration.oneOf.1","typeLabel":"null"}],"uniqueKey":"video_duration","typeLabel":"integer | null"},"video_resolution":{"oneOf":[{"type":"string","description":"Video resolution (video generations only)","example":"480p","enum":["480p","720p","1080p"],"uniqueKey":"video_resolution.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Video resolution (video generations only)","example":"480p","enum":["480p","720p","1080p"],"uniqueKey":"video_resolution.oneOf.1","typeLabel":"null"}],"uniqueKey":"video_resolution","typeLabel":"enum\u003cstring> | null"},"video_ratio":{"oneOf":[{"type":"string","description":"Video aspect ratio (video generations only)","example":"16:9","enum":["16:9","4:3","1:1","3:4","9:16","21:9","adaptive"],"uniqueKey":"video_ratio.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Video aspect ratio (video generations only)","example":"16:9","enum":["16:9","4:3","1:1","3:4","9:16","21:9","adaptive"],"uniqueKey":"video_ratio.oneOf.1","typeLabel":"null"}],"uniqueKey":"video_ratio","typeLabel":"enum\u003cstring> | null"},"video_generate_audio":{"oneOf":[{"type":"boolean","description":"Whether the generated video includes synchronized audio (video generations only). This is the audio setting actually applied. It normally matches your `generate_audio`, or the selected video model's default when you omit it, but the platform resolves the final value for the request. Read this field rather than assuming your request value.","example":true,"uniqueKey":"video_generate_audio.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the generated video includes synchronized audio (video generations only). This is the audio setting actually applied. It normally matches your `generate_audio`, or the selected video model's default when you omit it, but the platform resolves the final value for the request. Read this field rather than assuming your request value.","example":true,"uniqueKey":"video_generate_audio.oneOf.1","typeLabel":"null"}],"uniqueKey":"video_generate_audio","typeLabel":"boolean | null"},"video_task":{"oneOf":[{"type":"string","description":"Resolved reference-video task (video generations only). `reference`: the generation borrows the clip's motion for a new scene. `extend`: the generation continues the clip itself. `null` on every generation that did not supply `reference_video_url` (including all pre-existing rows). Additional task types may be introduced in future API versions — treat an unrecognized value as opaque.","example":"reference","uniqueKey":"video_task.oneOf.0","typeLabel":"string"},{"type":"null","description":"Resolved reference-video task (video generations only). `reference`: the generation borrows the clip's motion for a new scene. `extend`: the generation continues the clip itself. `null` on every generation that did not supply `reference_video_url` (including all pre-existing rows). Additional task types may be introduced in future API versions — treat an unrecognized value as opaque.","example":"reference","uniqueKey":"video_task.oneOf.1","typeLabel":"null"}],"uniqueKey":"video_task","typeLabel":"string | null"},"extend_direction":{"oneOf":[{"type":"string","description":"Resolved extend direction (video generations only). Non-null only when `video_task` is `extend`; `null` otherwise (including every reference-mode and non-reference generation).","example":"forward","enum":["forward","backward"],"uniqueKey":"extend_direction.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Resolved extend direction (video generations only). Non-null only when `video_task` is `extend`; `null` otherwise (including every reference-mode and non-reference generation).","example":"forward","enum":["forward","backward"],"uniqueKey":"extend_direction.oneOf.1","typeLabel":"null"}],"uniqueKey":"extend_direction","typeLabel":"enum\u003cstring> | null"},"reference_video_url":{"oneOf":[{"type":"string","description":"The reference video URL you submitted, echoed back VERBATIM as you sent it — never re-signed, never a storage path. `null` for generations that did not supply `reference_video_url` (including every dashboard-originated row, and including an `inference_type: \"r2v\"` generation whose motion reference the platform built from a first frame plus a pinned or matched video model — this field, not `inference_type`, is what distinguishes your own clip from a platform-built reference).","example":"https://cdn.example.com/clips/dance-loop.mp4","uniqueKey":"reference_video_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"The reference video URL you submitted, echoed back VERBATIM as you sent it — never re-signed, never a storage path. `null` for generations that did not supply `reference_video_url` (including every dashboard-originated row, and including an `inference_type: \"r2v\"` generation whose motion reference the platform built from a first frame plus a pinned or matched video model — this field, not `inference_type`, is what distinguishes your own clip from a platform-built reference).","example":"https://cdn.example.com/clips/dance-loop.mp4","uniqueKey":"reference_video_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"reference_video_url","typeLabel":"string | null"},"reference_audio_url":{"oneOf":[{"type":"string","description":"The reference audio URL you submitted, echoed back VERBATIM as you sent it. `null` for generations that did not supply `reference_audio_url`.","example":"https://cdn.example.com/audio/voiceover.mp3","uniqueKey":"reference_audio_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"The reference audio URL you submitted, echoed back VERBATIM as you sent it. `null` for generations that did not supply `reference_audio_url`.","example":"https://cdn.example.com/audio/voiceover.mp3","uniqueKey":"reference_audio_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"reference_audio_url","typeLabel":"string | null"},"video_lora_id":{"oneOf":[{"type":"string","description":"The video model (an id or slug from GET /v1/video_loras) behind this generation (video generations only) — either the `video_lora_id` you pinned on the request, or the model the platform auto-matched to your prompt when none was pinned. `null` for a plain (no video model) generation, and always `null` on image generations.","example":"action_01HXMQ7Z3K8Y2VNABCDEFGHJKM","uniqueKey":"video_lora_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The video model (an id or slug from GET /v1/video_loras) behind this generation (video generations only) — either the `video_lora_id` you pinned on the request, or the model the platform auto-matched to your prompt when none was pinned. `null` for a plain (no video model) generation, and always `null` on image generations.","example":"action_01HXMQ7Z3K8Y2VNABCDEFGHJKM","uniqueKey":"video_lora_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"video_lora_id","typeLabel":"string | null"},"video_lora_name":{"oneOf":[{"type":"string","description":"Display name of the video model in `video_lora_id`, if any. Omitted for plain generations (no pinned or matched video model).","example":"Cinematic Pan","uniqueKey":"video_lora_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Display name of the video model in `video_lora_id`, if any. Omitted for plain generations (no pinned or matched video model).","example":"Cinematic Pan","uniqueKey":"video_lora_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"video_lora_name","typeLabel":"string | null"},"character_id":{"oneOf":[{"type":"string","description":"Character ID supplied on the request (`char_\u003culid>` or legacy UUID), echoed back. `null` when no character was attached to this generation.","example":"char_01HXMQ7Z3K8Y2VNABCDEFGHJKM","uniqueKey":"character_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Character ID supplied on the request (`char_\u003culid>` or legacy UUID), echoed back. `null` when no character was attached to this generation.","example":"char_01HXMQ7Z3K8Y2VNABCDEFGHJKM","uniqueKey":"character_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"character_id","typeLabel":"string | null"},"subjects":{"oneOf":[{"description":"Ordered subjects composed into this generation (positional — entry N echoes entry N of the identity inputs sent on create; legacy `character_id` / `reference_image_urls` inputs are normalized into the same projection). Character entries carry the opaque `char_\u003culid>`; reference entries echo only their image count, never URLs. Video generations echo their cast the same way (up to 2 entries), matching the `subjects[]` array accepted by POST /v1/videos. Character entries on generations created before cast snapshotting may carry `character_id: null`; the id is never substituted with an internal identifier. `null` for generations that did not compose subjects (plain prompt-only or style generations, and context-image generations). The engine is not exposed.","example":[{"type":"character","character_id":"char_01HXMQ7Z3K8Y2VNABCDEFGHJKM","image_count":1},{"type":"reference","character_id":null,"image_count":2}],"type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"Subject kind. `character` entries reference a saved character; `reference` entries were supplied as ad-hoc reference images.","enum":["character","reference"],"example":"character","isRequired":true,"uniqueKey":"subjects.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"character_id":{"oneOf":[{"type":"string","description":"Opaque character ID (`char_\u003culid>`) for `character` subjects — the same ID accepted by `subjects[].character_id` on create. `null` for `reference` subjects.","example":"char_01HXMQ7Z3K8Y2VNABCDEFGHJKM","uniqueKey":"subjects.oneOf.0.items.[INDEX].character_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opaque character ID (`char_\u003culid>`) for `character` subjects — the same ID accepted by `subjects[].character_id` on create. `null` for `reference` subjects.","example":"char_01HXMQ7Z3K8Y2VNABCDEFGHJKM","uniqueKey":"subjects.oneOf.0.items.[INDEX].character_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"subjects.oneOf.0.items.[INDEX].character_id","typeLabel":"string | null"},"image_count":{"type":"integer","description":"Number of input images this subject contributed to the composition.","example":1,"uniqueKey":"subjects.oneOf.0.items.[INDEX].image_count","typeLabel":"integer"}},"required":["type"],"uniqueKey":"subjects.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"subjects.oneOf.0","typeLabel":"object[]"},{"description":"Ordered subjects composed into this generation (positional — entry N echoes entry N of the identity inputs sent on create; legacy `character_id` / `reference_image_urls` inputs are normalized into the same projection). Character entries carry the opaque `char_\u003culid>`; reference entries echo only their image count, never URLs. Video generations echo their cast the same way (up to 2 entries), matching the `subjects[]` array accepted by POST /v1/videos. Character entries on generations created before cast snapshotting may carry `character_id: null`; the id is never substituted with an internal identifier. `null` for generations that did not compose subjects (plain prompt-only or style generations, and context-image generations). The engine is not exposed.","example":[{"type":"character","character_id":"char_01HXMQ7Z3K8Y2VNABCDEFGHJKM","image_count":1},{"type":"reference","character_id":null,"image_count":2}],"type":"null","items":{"type":"object","properties":{"type":{"type":"string","description":"Subject kind. `character` entries reference a saved character; `reference` entries were supplied as ad-hoc reference images.","enum":["character","reference"],"example":"character"},"character_id":{"oneOf":[{"type":"string","description":"Opaque character ID (`char_\u003culid>`) for `character` subjects — the same ID accepted by `subjects[].character_id` on create. `null` for `reference` subjects.","example":"char_01HXMQ7Z3K8Y2VNABCDEFGHJKM"},{"type":"null","description":"Opaque character ID (`char_\u003culid>`) for `character` subjects — the same ID accepted by `subjects[].character_id` on create. `null` for `reference` subjects.","example":"char_01HXMQ7Z3K8Y2VNABCDEFGHJKM"}]},"image_count":{"type":"integer","description":"Number of input images this subject contributed to the composition.","example":1}},"required":["type"]},"uniqueKey":"subjects.oneOf.1","typeLabel":"null"}],"uniqueKey":"subjects","typeLabel":"object[] | null"},"context_images":{"oneOf":[{"type":"object","description":"Count-only echo of the `context_images[]` sent on create — the number of loose reference images supplied, never the image URLs themselves. `null` for every generation that did not use `context_images` (plain prompt-only, style, subject, and video generations).","required":["image_count"],"example":{"image_count":3},"properties":{"image_count":{"type":"integer","description":"Number of context images supplied on the request.","example":3,"isRequired":true,"uniqueKey":"context_images.oneOf.0.image_count","typeLabel":"integer"}},"uniqueKey":"context_images.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"context_images.oneOf.1","typeLabel":"null"}],"uniqueKey":"context_images","typeLabel":"object | null"},"action":{"oneOf":[{"type":"object","description":"The composition act applied to this generation, echoed as `{ id, name }`. An act is applied either because you pinned it with `action_id` or because act detection matched one automatically. `id` is the act identifier from `GET /v1/actions`; `name` is its display name (or `null` when the name was not recorded). `null` for every generation that did not apply an act — plain prompt-only, style, context-image, and video generations. A new, always-present, nullable key: existing integrations that do not read it are unaffected.","required":["id"],"example":{"id":"3f2b6c1e-8a4d-4e2b-9c7a-1d5e8f0a2b3c","name":"Over-the-shoulder"},"properties":{"id":{"type":"string","description":"Composition-act identifier — the same id returned by `GET /v1/actions` and accepted by `action_id` on `POST /v1/images`.","example":"3f2b6c1e-8a4d-4e2b-9c7a-1d5e8f0a2b3c","format":"uuid","isRequired":true,"uniqueKey":"action.oneOf.0.id","typeLabel":"string\u003cuuid>"},"name":{"oneOf":[{"type":"string","description":"Display name of the applied act. `null` when the name was not recorded on the row.","example":"Over-the-shoulder","uniqueKey":"action.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Display name of the applied act. `null` when the name was not recorded on the row.","example":"Over-the-shoulder","uniqueKey":"action.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"action.oneOf.0.name","typeLabel":"string | null"}},"uniqueKey":"action.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"action.oneOf.1","typeLabel":"null"}],"uniqueKey":"action","typeLabel":"object | null"},"style":{"oneOf":[{"type":"object","description":"The prompt style applied to this generation, echoed as `{ id, name }`. A style is applied either because you pinned it with `lora_id` or because style matching resolved one from your prompt — the echo always reflects the style that actually ran (a retired id that aliases to a successor echoes the successor). `id` is the `lora_*` identifier from `GET /v1/loras` and round-trips into `lora_id`. `null` for every generation without a style — including `lora_id: null` requests, retired styles that generate plain, video generations, and all rows minted before styles shipped. A new, always-present, nullable key: existing integrations that do not read it are unaffected.","required":["id"],"example":{"id":"lora_06AAAAAAAAAAAAAAAAAAAAAAAA","name":"Ring-Light Creator"},"properties":{"id":{"oneOf":[{"type":"string","description":"Style identifier — the same `lora_*` id returned by `GET /v1/loras` and accepted by `lora_id` on `POST /v1/images`. Pass it back as `lora_id` to reuse the style. `null` only on degenerate legacy rows.","example":"lora_06AAAAAAAAAAAAAAAAAAAAAAAA","isRequired":true,"uniqueKey":"style.oneOf.0.id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Style identifier — the same `lora_*` id returned by `GET /v1/loras` and accepted by `lora_id` on `POST /v1/images`. Pass it back as `lora_id` to reuse the style. `null` only on degenerate legacy rows.","example":"lora_06AAAAAAAAAAAAAAAAAAAAAAAA","isRequired":true,"uniqueKey":"style.oneOf.0.id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"style.oneOf.0.id","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Display name of the applied style. `null` when the name was not recorded on the row.","example":"Ring-Light Creator","uniqueKey":"style.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Display name of the applied style. `null` when the name was not recorded on the row.","example":"Ring-Light Creator","uniqueKey":"style.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"style.oneOf.0.name","typeLabel":"string | null"}},"uniqueKey":"style.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"style.oneOf.1","typeLabel":"null"}],"uniqueKey":"style","typeLabel":"object | null"},"warnings":{"description":"Non-fatal request adjustments, present ONLY on the `POST /v1/images` 201 body (and the estimate response) — never on GET reads, list rows, or webhook payloads. Omitted entirely when empty. Current codes: `parameter_ignored`, `style_retired_plain`; new codes may be added without a version bump — ignore unknown codes. Idempotent replays return the original warnings verbatim.","example":[{"code":"style_retired_plain","param":"lora_id","message":"Style lora_06AAAAAAAAAAAAAAAAAAAAAAAA is retired and no longer applies a style — this request generates without one."}],"type":"array","items":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable warning code. Current values: `parameter_ignored` (a parameter you sent has no effect on this generation path and was ignored) and `style_retired_plain` (the pinned `lora_id` is retired — the generation proceeded without a style). This is an OPEN set: new codes may be added without a version bump, so ignore unknown codes rather than failing on them.","example":"style_retired_plain","isRequired":true,"uniqueKey":"warnings.items.[INDEX].code","typeLabel":"string"},"param":{"type":"string","description":"Machine-readable name of the request field the warning is about (e.g. `lora_id`, `seed`).","example":"lora_id","isRequired":true,"uniqueKey":"warnings.items.[INDEX].param","typeLabel":"string"},"message":{"type":"string","description":"Human-readable explanation. Wording may change; branch on `code`/`param`, not on this text.","example":"Style lora_06AAAAAAAAAAAAAAAAAAAAAAAA is retired and no longer applies a style — this request generates without one.","isRequired":true,"uniqueKey":"warnings.items.[INDEX].message","typeLabel":"string"}},"required":["code","param","message"],"uniqueKey":"warnings.items.[INDEX]","typeLabel":"object"},"uniqueKey":"warnings","typeLabel":"object[]"},"enhancer_outcome":{"oneOf":[{"type":"string","description":"Outcome of the prompt-optimization step, echoed for observability. Current values: `no_request` (the request did not invoke it), `succeeded`, `identical`, `refused`, `transport_error`, `length_overflow`; `null` on rows minted before this field existed. INFORMATIONAL and deliberately an OPEN set (no schema enum — codegen clients must not mint a closed union): do not branch control flow on it; new values may be added without a version bump.","example":"succeeded","uniqueKey":"enhancer_outcome.oneOf.0","typeLabel":"string"},{"type":"null","description":"Outcome of the prompt-optimization step, echoed for observability. Current values: `no_request` (the request did not invoke it), `succeeded`, `identical`, `refused`, `transport_error`, `length_overflow`; `null` on rows minted before this field existed. INFORMATIONAL and deliberately an OPEN set (no schema enum — codegen clients must not mint a closed union): do not branch control flow on it; new values may be added without a version bump.","example":"succeeded","uniqueKey":"enhancer_outcome.oneOf.1","typeLabel":"null"}],"uniqueKey":"enhancer_outcome","typeLabel":"string | null"},"loras":{"oneOf":[{"description":"LoRAs applied to this generation. `null` for prompt-only and pure-reference generations.","type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Opaque LoRA ID resolved at dispatch time","example":"lora_01HXMQ7Z3K8Y2VNABCDEFGHJKM","uniqueKey":"loras.oneOf.0.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","description":"LoRA display name","example":"Sunset Style","uniqueKey":"loras.oneOf.0.items.[INDEX].name","typeLabel":"string"}},"uniqueKey":"loras.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"loras.oneOf.0","typeLabel":"object[]"},{"description":"LoRAs applied to this generation. `null` for prompt-only and pure-reference generations.","type":"null","items":{"type":"object","properties":{"id":{"type":"string","description":"Opaque LoRA ID resolved at dispatch time","example":"lora_01HXMQ7Z3K8Y2VNABCDEFGHJKM"},"name":{"type":"string","description":"LoRA display name","example":"Sunset Style"}}},"uniqueKey":"loras.oneOf.1","typeLabel":"null"}],"uniqueKey":"loras","typeLabel":"object[] | null"},"aurous_version":{"type":"string","description":"API contract version applied at the time this row was minted (D25 — frozen for replay across future version bumps).","example":"2026-08-26","uniqueKey":"aurous_version","typeLabel":"string"},"creation_request_id":{"type":"string","description":"Aurous-Request-Id of the POST that created this row. Quote in support tickets to trace the original create request.","example":"req_01HXMQ7Z3K8Y2VNABCDEFGHJKM","uniqueKey":"creation_request_id","typeLabel":"string"},"completed_at":{"oneOf":[{"type":"string","description":"Terminal-status timestamp (ISO 8601). NULL until the generation reaches a terminal state.","example":"2026-05-04T10:00:14Z","uniqueKey":"completed_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"Terminal-status timestamp (ISO 8601). NULL until the generation reaches a terminal state.","example":"2026-05-04T10:00:14Z","uniqueKey":"completed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"completed_at","typeLabel":"string | null"}},"required":["object","id","status","prompt","created_at"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"object":"inference","id":"img_01HXMQ7Z3K8Y2VNABCDEFGHJKM","status":"succeeded","prompt":"A golden sunset over mountains, cinematic lighting","created_at":"2026-05-04T10:00:00Z","media_type":"image","output_urls":["https://api.aurous-labs.com/v1/images/img_01HXMQ7Z3K8Y2VNABCDEFGHJKM/output/0"],"video_url":"https://api.aurous-labs.com/v1/videos/vid_01HXMQ7Z3K8Y2VNABCDEFGHJKM/output?token=...","reference_image_urls":["https://example.com/ref1.jpg"],"error_message":"Content policy violation","error_code":"generation_interrupted","duration_ms":14820,"cost":{"amount":6.5,"currency":"credit","breakdown":{"base":6.5,"size_tier":"standard"}},"width":1472,"height":1472,"image_count":1,"size_preset":"1_5k_1_1","inference_type":"t2i","cfg_rescale":0.7,"denoise_strength":0.6,"seed":819572108,"video_duration":5,"video_resolution":"480p","video_ratio":"16:9","video_generate_audio":true,"video_task":"reference","extend_direction":"forward","reference_video_url":"https://cdn.example.com/clips/dance-loop.mp4","reference_audio_url":"https://cdn.example.com/audio/voiceover.mp3","video_lora_id":"action_01HXMQ7Z3K8Y2VNABCDEFGHJKM","video_lora_name":"Cinematic Pan","character_id":"char_01HXMQ7Z3K8Y2VNABCDEFGHJKM","subjects":[{"type":"character","character_id":"char_01HXMQ7Z3K8Y2VNABCDEFGHJKM","image_count":1},{"type":"reference","character_id":null,"image_count":2}],"context_images":{"image_count":3},"action":{"id":"3f2b6c1e-8a4d-4e2b-9c7a-1d5e8f0a2b3c","name":"Over-the-shoulder"},"style":{"id":"lora_06AAAAAAAAAAAAAAAAAAAAAAAA","name":"Ring-Light Creator"},"warnings":[{"code":"style_retired_plain","param":"lora_id","message":"Style lora_06AAAAAAAAAAAAAAAAAAAAAAAA is retired and no longer applies a style — this request generates without one."}],"enhancer_outcome":"succeeded","loras":[{"id":"lora_01HXMQ7Z3K8Y2VNABCDEFGHJKM","name":"Sunset Style"}],"aurous_version":"2026-08-26","creation_request_id":"req_01HXMQ7Z3K8Y2VNABCDEFGHJKM","completed_at":"2026-05-04T10:00:14Z"}}},"exampleType":"generated"}},"headers":{"Aurous-Request-Id":{"description":"Server-minted request id. Quote this in support tickets.","schema":{"type":"string","example":"req_01HXMQ7Z3K8Y2NABCDEFGHJKMP"}},"Aurous-Version":{"description":"API version pin applied to this response (YYYY-MM-DD).","schema":{"type":"string","example":"2026-08-26"}},"X-RateLimit-Limit":{"description":"Bucket capacity (max tokens) for this endpoint class.","schema":{"type":"integer","example":120}},"X-RateLimit-Remaining":{"description":"Tokens remaining after this request.","schema":{"type":"integer","example":119}},"X-RateLimit-Reset":{"description":"Epoch seconds when the bucket would be full again, assuming no further requests.","schema":{"type":"integer","example":1700000060}},"Deprecation":{"description":"Present (always the literal string `true`) on a 2xx response in two cases: (1) POST /v1/images, /v1/images/estimate, /v1/videos or /v1/videos/estimate when the request body used the legacy `character_id` or `reference_image_urls` field instead of `subjects[]`; (2) every 2xx of POST /v1/characters/{id}/refs/regenerate, whose whole body form is superseded by POST /v1/characters/{id}/refs/{view}/regenerate. Absent otherwise — in particular the per-view route never carries it. No removal date is set in either case — see the linked page.","schema":{"type":"string","enum":["true"],"example":"true"}},"Link":{"description":"Paired with `Deprecation` — an RFC 8288 link to what replaces the deprecated thing. `rel=\"deprecation\"` pointing at the subjects[] migration guide for the legacy identity FIELDS; `rel=\"successor-version\"` pointing at the per-view regenerate page for the deprecated regenerate ROUTE. Same presence rule as `Deprecation`.","schema":{"type":"string","example":"\u003chttps://docs.aurous-labs.com/guides/subjects>; rel=\"deprecation\"; type=\"text/html\""}},"Aurous-Idempotent-Replayed":{"description":"Present (literal `true`) when this response was served from a stored idempotent replay — the same `Idempotency-Key` + canonical body was seen within the 24h window and the original response is returned WITHOUT re-executing (no second charge, no second task). Absent on the first (fresh) execution and on any request sent without an `Idempotency-Key`. Only on the idempotency-aware create routes.","schema":{"type":"string","enum":["true"],"example":"true"}}},"exampleType":"generated"},"f7d66f1f-1cf9-4113-9410-aef192a7e644":{"description":"Validation failed, the prompt was rejected by content policy (code: prompt_blocked), the two subject shapes are mixed — subjects[] with character_id/reference_image_urls — or character_id and reference_image_urls are both present (code: mutually_exclusive_input), a cast character is not ready (code: character_not_ready), or the parameter combination is invalid (code: parameter_invalid_combination — e.g. more than 2 subjects, a subject element carrying both character_id and image_urls, a duplicate character or reference image across subjects, a subject with a frame, a subject with video_task: extend, last_frame_url without first_frame_url, last_frame_url combined with a pinned video_lora_id (param: last_frame_url — a FIRST frame with a video model is valid; a first+last pair never auto-matches), reference_video_url combined with first_frame_url, video_task without reference_video_url, or reference_audio_url without a companion or without audio output). A malformed id or a media-purpose file id in an image slot returns code: invalid_format. Your reference video/audio couldn't be fetched (code: reference_fetch_failed), or the fetched reference failed format/duration/resolution validation — including a file id whose upload purpose does not match the slot (code: reference_media_invalid). A `file_\u003culid>` first_frame_url below the minimum animatable size — 64 px shortest side AND 6,400 px total — returns code: first_frame_too_small (param: first_frame_url) before any credit hold, on requests where a video model is pinned or left to auto-match.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","description":"Error payload","required":["type","code","message","doc_url","request_id"],"properties":{"type":{"type":"string","description":"Broad error category","example":"invalid_request","enum":["invalid_request","authentication","not_found","rate_limit","server_error"],"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"Stable error code (programmatic discriminator). Closed-beta gate emits one of `account_pending`, `account_rejected`, `account_suspended` on 403.","example":"balance_too_low","enum":["invalid_request","missing_field","invalid_format","value_out_of_range","unsupported_lora_for_mode","generation_not_cancellable","prompt_blocked","reference_blocked","output_moderation_rejected","unknown_version","mutually_exclusive_input","character_not_ready","parameter_invalid_combination","character_status_invalid","character_busy","nudity_not_allowed","reference_unfit","reference_uploaded","build_requires_identity","style_retired","parameter_invalid","too_many_reference_images","action_not_available","upload_invalid","balance_too_low","idempotency_key_in_use","api_key_not_found","payload_too_large","missing_api_key","invalid_api_key","revoked_api_key","resource_not_found","forbidden_resource","account_pending","account_rejected","account_suspended","already_approved","already_rejected","already_suspended","invalid_reinstate_target","invalid_suspend_target","payment_not_reviewable","page_out_of_date","trial_already_used","cannot_moderate_admin","too_many_requests","concurrency_limit_exceeded","tpm_rate_limit_exceeded","internal_error","provider_unavailable","reference_check_unavailable","provider_timeout","provider_not_configured","invalid_time_range","invalid_bucket_width","too_many_buckets","too_many_group_by","invalid_filter","invalid_page_token","export_too_large","user_already_exists","self_invite_forbidden","invite_link_failed","invite_rate_limited","model_not_found","model_disabled","model_wrong_kind","max_tokens_exceeds_hard_cap","chat_model_misconfigured","embeddings_input_too_large","embeddings_unsupported_dimensions","pricing_frozen","provider_rate_limited","chat_provider_request_invalid","chat_provider_auth_failed","chat_provider_unavailable","max_input_tokens_exceeded","chat_provider_unknown_error","embeddings_provider_unknown_error","embeddings_batch_not_supported","embeddings_input_too_many_items","embeddings_video_unsupported","encoding_format_unsupported","missing_max_tokens_no_model_default","chat_cancel_target_not_found","chat_completion_not_found","chat_cancel_target_already_terminal","chat_cancel_target_not_cancellable","tool_choice_required_unsupported","response_format_too_large","response_format_too_deep","invalid_cursor","invalid_cursor_for_endpoint","model_slug_exists","output_expired","output_not_available","content_filtered","image_generation_failed","reference_media_invalid","reference_media_cap_reached","reference_fetch_failed","unsupported_auth_method","insufficient_scope","uploads_expired","character_resynthesize_in_progress","provider_unknown_error","first_frame_too_small"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable message","example":"Team available balance is 1.5 credits, generation requires 2.0.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","description":"Documentation link for this error code","example":"https://docs.aurous-labs.com/errors#balance_too_low","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"request_id":{"type":"string","description":"Echoes Aurous-Request-Id — quote in support tickets","example":"req_01HXMQ7Z3K8Y2VNABCDEFGHJKM","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"param":{"oneOf":[{"type":"object","description":"Field name when the error is parameter-scoped","example":"prompt","uniqueKey":"error.param.oneOf.0","typeLabel":"object"},{"type":"null","description":"Field name when the error is parameter-scoped","example":"prompt","uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.param","typeLabel":"object | null"},"reason":{"oneOf":[{"type":"string","description":"Sub-code refining `code`, for codes that document one. Present today only on `reference_unfit`; `null` otherwise. Branch on `code` first and treat an unrecognized `reason` as a generic failure of that code.","enum":["too_small","extreme_aspect","no_person","multiple_people","no_face","wrong_view","nudity_mismatch"],"example":"wrong_view","uniqueKey":"error.reason.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Sub-code refining `code`, for codes that document one. Present today only on `reference_unfit`; `null` otherwise. Branch on `code` first and treat an unrecognized `reason` as a generic failure of that code.","enum":["too_small","extreme_aspect","no_person","multiple_people","no_face","wrong_view","nudity_mismatch"],"example":"wrong_view","uniqueKey":"error.reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.reason","typeLabel":"enum\u003cstring> | null"},"detected_view":{"oneOf":[{"type":"string","description":"Present only on `reference_unfit` with `reason: \"wrong_view\"`: the view the rejected image actually depicts. Offer the customer that view instead of asking for a new photo — the same upload can be re-sent to it.","enum":["head_front","upper_front","lower_front","upper_back","lower_back","full_left","full_front","full_right","other"],"example":"full_left","uniqueKey":"error.detected_view.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Present only on `reference_unfit` with `reason: \"wrong_view\"`: the view the rejected image actually depicts. Offer the customer that view instead of asking for a new photo — the same upload can be re-sent to it.","enum":["head_front","upper_front","lower_front","upper_back","lower_back","full_left","full_front","full_right","other"],"example":"full_left","uniqueKey":"error.detected_view.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.detected_view","typeLabel":"enum\u003cstring> | null"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"invalid_request","code":"balance_too_low","message":"Team available balance is 1.5 credits, generation requires 2.0.","doc_url":"https://docs.aurous-labs.com/errors#balance_too_low","request_id":"req_01HXMQ7Z3K8Y2VNABCDEFGHJKM","param":"prompt","reason":"wrong_view","detected_view":"full_left"}}}},"exampleType":"generated"}},"headers":{"Aurous-Request-Id":{"description":"Server-minted request id. Quote this in support tickets.","schema":{"type":"string","example":"req_01HXMQ7Z3K8Y2NABCDEFGHJKMP"}},"Aurous-Version":{"description":"API version pin applied to this response (YYYY-MM-DD).","schema":{"type":"string","example":"2026-08-26"}},"X-RateLimit-Limit":{"description":"Bucket capacity (max tokens) for this endpoint class.","schema":{"type":"integer","example":120}},"X-RateLimit-Remaining":{"description":"Tokens remaining after this request.","schema":{"type":"integer","example":119}},"X-RateLimit-Reset":{"description":"Epoch seconds when the bucket would be full again, assuming no further requests.","schema":{"type":"integer","example":1700000060}}},"exampleType":"generated"},"4663d932-5610-4dbc-a44c-fb56a2d55157":{"description":"Unauthorized — missing or invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","description":"Error payload","required":["type","code","message","doc_url","request_id"],"properties":{"type":{"type":"string","description":"Broad error category","example":"invalid_request","enum":["invalid_request","authentication","not_found","rate_limit","server_error"],"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"Stable error code (programmatic discriminator). Closed-beta gate emits one of `account_pending`, `account_rejected`, `account_suspended` on 403.","example":"balance_too_low","enum":["invalid_request","missing_field","invalid_format","value_out_of_range","unsupported_lora_for_mode","generation_not_cancellable","prompt_blocked","reference_blocked","output_moderation_rejected","unknown_version","mutually_exclusive_input","character_not_ready","parameter_invalid_combination","character_status_invalid","character_busy","nudity_not_allowed","reference_unfit","reference_uploaded","build_requires_identity","style_retired","parameter_invalid","too_many_reference_images","action_not_available","upload_invalid","balance_too_low","idempotency_key_in_use","api_key_not_found","payload_too_large","missing_api_key","invalid_api_key","revoked_api_key","resource_not_found","forbidden_resource","account_pending","account_rejected","account_suspended","already_approved","already_rejected","already_suspended","invalid_reinstate_target","invalid_suspend_target","payment_not_reviewable","page_out_of_date","trial_already_used","cannot_moderate_admin","too_many_requests","concurrency_limit_exceeded","tpm_rate_limit_exceeded","internal_error","provider_unavailable","reference_check_unavailable","provider_timeout","provider_not_configured","invalid_time_range","invalid_bucket_width","too_many_buckets","too_many_group_by","invalid_filter","invalid_page_token","export_too_large","user_already_exists","self_invite_forbidden","invite_link_failed","invite_rate_limited","model_not_found","model_disabled","model_wrong_kind","max_tokens_exceeds_hard_cap","chat_model_misconfigured","embeddings_input_too_large","embeddings_unsupported_dimensions","pricing_frozen","provider_rate_limited","chat_provider_request_invalid","chat_provider_auth_failed","chat_provider_unavailable","max_input_tokens_exceeded","chat_provider_unknown_error","embeddings_provider_unknown_error","embeddings_batch_not_supported","embeddings_input_too_many_items","embeddings_video_unsupported","encoding_format_unsupported","missing_max_tokens_no_model_default","chat_cancel_target_not_found","chat_completion_not_found","chat_cancel_target_already_terminal","chat_cancel_target_not_cancellable","tool_choice_required_unsupported","response_format_too_large","response_format_too_deep","invalid_cursor","invalid_cursor_for_endpoint","model_slug_exists","output_expired","output_not_available","content_filtered","image_generation_failed","reference_media_invalid","reference_media_cap_reached","reference_fetch_failed","unsupported_auth_method","insufficient_scope","uploads_expired","character_resynthesize_in_progress","provider_unknown_error","first_frame_too_small"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable message","example":"Team available balance is 1.5 credits, generation requires 2.0.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","description":"Documentation link for this error code","example":"https://docs.aurous-labs.com/errors#balance_too_low","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"request_id":{"type":"string","description":"Echoes Aurous-Request-Id — quote in support tickets","example":"req_01HXMQ7Z3K8Y2VNABCDEFGHJKM","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"param":{"oneOf":[{"type":"object","description":"Field name when the error is parameter-scoped","example":"prompt","uniqueKey":"error.param.oneOf.0","typeLabel":"object"},{"type":"null","description":"Field name when the error is parameter-scoped","example":"prompt","uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.param","typeLabel":"object | null"},"reason":{"oneOf":[{"type":"string","description":"Sub-code refining `code`, for codes that document one. Present today only on `reference_unfit`; `null` otherwise. Branch on `code` first and treat an unrecognized `reason` as a generic failure of that code.","enum":["too_small","extreme_aspect","no_person","multiple_people","no_face","wrong_view","nudity_mismatch"],"example":"wrong_view","uniqueKey":"error.reason.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Sub-code refining `code`, for codes that document one. Present today only on `reference_unfit`; `null` otherwise. Branch on `code` first and treat an unrecognized `reason` as a generic failure of that code.","enum":["too_small","extreme_aspect","no_person","multiple_people","no_face","wrong_view","nudity_mismatch"],"example":"wrong_view","uniqueKey":"error.reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.reason","typeLabel":"enum\u003cstring> | null"},"detected_view":{"oneOf":[{"type":"string","description":"Present only on `reference_unfit` with `reason: \"wrong_view\"`: the view the rejected image actually depicts. Offer the customer that view instead of asking for a new photo — the same upload can be re-sent to it.","enum":["head_front","upper_front","lower_front","upper_back","lower_back","full_left","full_front","full_right","other"],"example":"full_left","uniqueKey":"error.detected_view.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Present only on `reference_unfit` with `reason: \"wrong_view\"`: the view the rejected image actually depicts. Offer the customer that view instead of asking for a new photo — the same upload can be re-sent to it.","enum":["head_front","upper_front","lower_front","upper_back","lower_back","full_left","full_front","full_right","other"],"example":"full_left","uniqueKey":"error.detected_view.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.detected_view","typeLabel":"enum\u003cstring> | null"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"invalid_request","code":"balance_too_low","message":"Team available balance is 1.5 credits, generation requires 2.0.","doc_url":"https://docs.aurous-labs.com/errors#balance_too_low","request_id":"req_01HXMQ7Z3K8Y2VNABCDEFGHJKM","param":"prompt","reason":"wrong_view","detected_view":"full_left"}}}},"exampleType":"generated"}},"headers":{"Aurous-Request-Id":{"description":"Server-minted request id. Quote this in support tickets.","schema":{"type":"string","example":"req_01HXMQ7Z3K8Y2NABCDEFGHJKMP"}},"Aurous-Version":{"description":"API version pin applied to this response (YYYY-MM-DD).","schema":{"type":"string","example":"2026-08-26"}},"X-RateLimit-Limit":{"description":"Bucket capacity (max tokens) for this endpoint class.","schema":{"type":"integer","example":120}},"X-RateLimit-Remaining":{"description":"Tokens remaining after this request.","schema":{"type":"integer","example":119}},"X-RateLimit-Reset":{"description":"Epoch seconds when the bucket would be full again, assuming no further requests.","schema":{"type":"integer","example":1700000060}}},"exampleType":"generated"},"f2ae5811-4285-47de-b435-c5242342a9cf":{"description":"Insufficient credits","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","description":"Error payload","required":["type","code","message","doc_url","request_id"],"properties":{"type":{"type":"string","description":"Broad error category","example":"invalid_request","enum":["invalid_request","authentication","not_found","rate_limit","server_error"],"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"Stable error code (programmatic discriminator). Closed-beta gate emits one of `account_pending`, `account_rejected`, `account_suspended` on 403.","example":"balance_too_low","enum":["invalid_request","missing_field","invalid_format","value_out_of_range","unsupported_lora_for_mode","generation_not_cancellable","prompt_blocked","reference_blocked","output_moderation_rejected","unknown_version","mutually_exclusive_input","character_not_ready","parameter_invalid_combination","character_status_invalid","character_busy","nudity_not_allowed","reference_unfit","reference_uploaded","build_requires_identity","style_retired","parameter_invalid","too_many_reference_images","action_not_available","upload_invalid","balance_too_low","idempotency_key_in_use","api_key_not_found","payload_too_large","missing_api_key","invalid_api_key","revoked_api_key","resource_not_found","forbidden_resource","account_pending","account_rejected","account_suspended","already_approved","already_rejected","already_suspended","invalid_reinstate_target","invalid_suspend_target","payment_not_reviewable","page_out_of_date","trial_already_used","cannot_moderate_admin","too_many_requests","concurrency_limit_exceeded","tpm_rate_limit_exceeded","internal_error","provider_unavailable","reference_check_unavailable","provider_timeout","provider_not_configured","invalid_time_range","invalid_bucket_width","too_many_buckets","too_many_group_by","invalid_filter","invalid_page_token","export_too_large","user_already_exists","self_invite_forbidden","invite_link_failed","invite_rate_limited","model_not_found","model_disabled","model_wrong_kind","max_tokens_exceeds_hard_cap","chat_model_misconfigured","embeddings_input_too_large","embeddings_unsupported_dimensions","pricing_frozen","provider_rate_limited","chat_provider_request_invalid","chat_provider_auth_failed","chat_provider_unavailable","max_input_tokens_exceeded","chat_provider_unknown_error","embeddings_provider_unknown_error","embeddings_batch_not_supported","embeddings_input_too_many_items","embeddings_video_unsupported","encoding_format_unsupported","missing_max_tokens_no_model_default","chat_cancel_target_not_found","chat_completion_not_found","chat_cancel_target_already_terminal","chat_cancel_target_not_cancellable","tool_choice_required_unsupported","response_format_too_large","response_format_too_deep","invalid_cursor","invalid_cursor_for_endpoint","model_slug_exists","output_expired","output_not_available","content_filtered","image_generation_failed","reference_media_invalid","reference_media_cap_reached","reference_fetch_failed","unsupported_auth_method","insufficient_scope","uploads_expired","character_resynthesize_in_progress","provider_unknown_error","first_frame_too_small"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable message","example":"Team available balance is 1.5 credits, generation requires 2.0.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","description":"Documentation link for this error code","example":"https://docs.aurous-labs.com/errors#balance_too_low","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"request_id":{"type":"string","description":"Echoes Aurous-Request-Id — quote in support tickets","example":"req_01HXMQ7Z3K8Y2VNABCDEFGHJKM","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"param":{"oneOf":[{"type":"object","description":"Field name when the error is parameter-scoped","example":"prompt","uniqueKey":"error.param.oneOf.0","typeLabel":"object"},{"type":"null","description":"Field name when the error is parameter-scoped","example":"prompt","uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.param","typeLabel":"object | null"},"reason":{"oneOf":[{"type":"string","description":"Sub-code refining `code`, for codes that document one. Present today only on `reference_unfit`; `null` otherwise. Branch on `code` first and treat an unrecognized `reason` as a generic failure of that code.","enum":["too_small","extreme_aspect","no_person","multiple_people","no_face","wrong_view","nudity_mismatch"],"example":"wrong_view","uniqueKey":"error.reason.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Sub-code refining `code`, for codes that document one. Present today only on `reference_unfit`; `null` otherwise. Branch on `code` first and treat an unrecognized `reason` as a generic failure of that code.","enum":["too_small","extreme_aspect","no_person","multiple_people","no_face","wrong_view","nudity_mismatch"],"example":"wrong_view","uniqueKey":"error.reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.reason","typeLabel":"enum\u003cstring> | null"},"detected_view":{"oneOf":[{"type":"string","description":"Present only on `reference_unfit` with `reason: \"wrong_view\"`: the view the rejected image actually depicts. Offer the customer that view instead of asking for a new photo — the same upload can be re-sent to it.","enum":["head_front","upper_front","lower_front","upper_back","lower_back","full_left","full_front","full_right","other"],"example":"full_left","uniqueKey":"error.detected_view.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Present only on `reference_unfit` with `reason: \"wrong_view\"`: the view the rejected image actually depicts. Offer the customer that view instead of asking for a new photo — the same upload can be re-sent to it.","enum":["head_front","upper_front","lower_front","upper_back","lower_back","full_left","full_front","full_right","other"],"example":"full_left","uniqueKey":"error.detected_view.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.detected_view","typeLabel":"enum\u003cstring> | null"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"invalid_request","code":"balance_too_low","message":"Team available balance is 1.5 credits, generation requires 2.0.","doc_url":"https://docs.aurous-labs.com/errors#balance_too_low","request_id":"req_01HXMQ7Z3K8Y2VNABCDEFGHJKM","param":"prompt","reason":"wrong_view","detected_view":"full_left"}}}},"exampleType":"generated"}},"headers":{"Aurous-Request-Id":{"description":"Server-minted request id. Quote this in support tickets.","schema":{"type":"string","example":"req_01HXMQ7Z3K8Y2NABCDEFGHJKMP"}},"Aurous-Version":{"description":"API version pin applied to this response (YYYY-MM-DD).","schema":{"type":"string","example":"2026-08-26"}},"X-RateLimit-Limit":{"description":"Bucket capacity (max tokens) for this endpoint class.","schema":{"type":"integer","example":120}},"X-RateLimit-Remaining":{"description":"Tokens remaining after this request.","schema":{"type":"integer","example":119}},"X-RateLimit-Reset":{"description":"Epoch seconds when the bucket would be full again, assuming no further requests.","schema":{"type":"integer","example":1700000060}}},"exampleType":"generated"},"227dfe55-c83e-466a-b694-e2d2a5efa1a7":{"description":"Account not approved for closed beta. error.code is one of `account_pending`, `account_rejected`, `account_suspended`. There is no retry — contact support to be approved.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","description":"Error payload","required":["type","code","message","doc_url","request_id"],"properties":{"type":{"type":"string","description":"Broad error category","example":"invalid_request","enum":["invalid_request","authentication","not_found","rate_limit","server_error"],"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"Stable error code (programmatic discriminator). Closed-beta gate emits one of `account_pending`, `account_rejected`, `account_suspended` on 403.","example":"balance_too_low","enum":["invalid_request","missing_field","invalid_format","value_out_of_range","unsupported_lora_for_mode","generation_not_cancellable","prompt_blocked","reference_blocked","output_moderation_rejected","unknown_version","mutually_exclusive_input","character_not_ready","parameter_invalid_combination","character_status_invalid","character_busy","nudity_not_allowed","reference_unfit","reference_uploaded","build_requires_identity","style_retired","parameter_invalid","too_many_reference_images","action_not_available","upload_invalid","balance_too_low","idempotency_key_in_use","api_key_not_found","payload_too_large","missing_api_key","invalid_api_key","revoked_api_key","resource_not_found","forbidden_resource","account_pending","account_rejected","account_suspended","already_approved","already_rejected","already_suspended","invalid_reinstate_target","invalid_suspend_target","payment_not_reviewable","page_out_of_date","trial_already_used","cannot_moderate_admin","too_many_requests","concurrency_limit_exceeded","tpm_rate_limit_exceeded","internal_error","provider_unavailable","reference_check_unavailable","provider_timeout","provider_not_configured","invalid_time_range","invalid_bucket_width","too_many_buckets","too_many_group_by","invalid_filter","invalid_page_token","export_too_large","user_already_exists","self_invite_forbidden","invite_link_failed","invite_rate_limited","model_not_found","model_disabled","model_wrong_kind","max_tokens_exceeds_hard_cap","chat_model_misconfigured","embeddings_input_too_large","embeddings_unsupported_dimensions","pricing_frozen","provider_rate_limited","chat_provider_request_invalid","chat_provider_auth_failed","chat_provider_unavailable","max_input_tokens_exceeded","chat_provider_unknown_error","embeddings_provider_unknown_error","embeddings_batch_not_supported","embeddings_input_too_many_items","embeddings_video_unsupported","encoding_format_unsupported","missing_max_tokens_no_model_default","chat_cancel_target_not_found","chat_completion_not_found","chat_cancel_target_already_terminal","chat_cancel_target_not_cancellable","tool_choice_required_unsupported","response_format_too_large","response_format_too_deep","invalid_cursor","invalid_cursor_for_endpoint","model_slug_exists","output_expired","output_not_available","content_filtered","image_generation_failed","reference_media_invalid","reference_media_cap_reached","reference_fetch_failed","unsupported_auth_method","insufficient_scope","uploads_expired","character_resynthesize_in_progress","provider_unknown_error","first_frame_too_small"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable message","example":"Team available balance is 1.5 credits, generation requires 2.0.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","description":"Documentation link for this error code","example":"https://docs.aurous-labs.com/errors#balance_too_low","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"request_id":{"type":"string","description":"Echoes Aurous-Request-Id — quote in support tickets","example":"req_01HXMQ7Z3K8Y2VNABCDEFGHJKM","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"param":{"oneOf":[{"type":"object","description":"Field name when the error is parameter-scoped","example":"prompt","uniqueKey":"error.param.oneOf.0","typeLabel":"object"},{"type":"null","description":"Field name when the error is parameter-scoped","example":"prompt","uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.param","typeLabel":"object | null"},"reason":{"oneOf":[{"type":"string","description":"Sub-code refining `code`, for codes that document one. Present today only on `reference_unfit`; `null` otherwise. Branch on `code` first and treat an unrecognized `reason` as a generic failure of that code.","enum":["too_small","extreme_aspect","no_person","multiple_people","no_face","wrong_view","nudity_mismatch"],"example":"wrong_view","uniqueKey":"error.reason.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Sub-code refining `code`, for codes that document one. Present today only on `reference_unfit`; `null` otherwise. Branch on `code` first and treat an unrecognized `reason` as a generic failure of that code.","enum":["too_small","extreme_aspect","no_person","multiple_people","no_face","wrong_view","nudity_mismatch"],"example":"wrong_view","uniqueKey":"error.reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.reason","typeLabel":"enum\u003cstring> | null"},"detected_view":{"oneOf":[{"type":"string","description":"Present only on `reference_unfit` with `reason: \"wrong_view\"`: the view the rejected image actually depicts. Offer the customer that view instead of asking for a new photo — the same upload can be re-sent to it.","enum":["head_front","upper_front","lower_front","upper_back","lower_back","full_left","full_front","full_right","other"],"example":"full_left","uniqueKey":"error.detected_view.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Present only on `reference_unfit` with `reason: \"wrong_view\"`: the view the rejected image actually depicts. Offer the customer that view instead of asking for a new photo — the same upload can be re-sent to it.","enum":["head_front","upper_front","lower_front","upper_back","lower_back","full_left","full_front","full_right","other"],"example":"full_left","uniqueKey":"error.detected_view.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.detected_view","typeLabel":"enum\u003cstring> | null"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"invalid_request","code":"balance_too_low","message":"Team available balance is 1.5 credits, generation requires 2.0.","doc_url":"https://docs.aurous-labs.com/errors#balance_too_low","request_id":"req_01HXMQ7Z3K8Y2VNABCDEFGHJKM","param":"prompt","reason":"wrong_view","detected_view":"full_left"}}}},"exampleType":"generated"}},"headers":{"Aurous-Request-Id":{"description":"Server-minted request id. Quote this in support tickets.","schema":{"type":"string","example":"req_01HXMQ7Z3K8Y2NABCDEFGHJKMP"}},"Aurous-Version":{"description":"API version pin applied to this response (YYYY-MM-DD).","schema":{"type":"string","example":"2026-08-26"}},"X-RateLimit-Limit":{"description":"Bucket capacity (max tokens) for this endpoint class.","schema":{"type":"integer","example":120}},"X-RateLimit-Remaining":{"description":"Tokens remaining after this request.","schema":{"type":"integer","example":119}},"X-RateLimit-Reset":{"description":"Epoch seconds when the bucket would be full again, assuming no further requests.","schema":{"type":"integer","example":1700000060}}},"exampleType":"generated"},"ed11f5e6-0c2f-4927-8d97-f79bc92be075":{"description":"A pinned video model, character, or reference image was not found or is inaccessible (resource_not_found)","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","description":"Error payload","required":["type","code","message","doc_url","request_id"],"properties":{"type":{"type":"string","description":"Broad error category","example":"invalid_request","enum":["invalid_request","authentication","not_found","rate_limit","server_error"],"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"Stable error code (programmatic discriminator). Closed-beta gate emits one of `account_pending`, `account_rejected`, `account_suspended` on 403.","example":"balance_too_low","enum":["invalid_request","missing_field","invalid_format","value_out_of_range","unsupported_lora_for_mode","generation_not_cancellable","prompt_blocked","reference_blocked","output_moderation_rejected","unknown_version","mutually_exclusive_input","character_not_ready","parameter_invalid_combination","character_status_invalid","character_busy","nudity_not_allowed","reference_unfit","reference_uploaded","build_requires_identity","style_retired","parameter_invalid","too_many_reference_images","action_not_available","upload_invalid","balance_too_low","idempotency_key_in_use","api_key_not_found","payload_too_large","missing_api_key","invalid_api_key","revoked_api_key","resource_not_found","forbidden_resource","account_pending","account_rejected","account_suspended","already_approved","already_rejected","already_suspended","invalid_reinstate_target","invalid_suspend_target","payment_not_reviewable","page_out_of_date","trial_already_used","cannot_moderate_admin","too_many_requests","concurrency_limit_exceeded","tpm_rate_limit_exceeded","internal_error","provider_unavailable","reference_check_unavailable","provider_timeout","provider_not_configured","invalid_time_range","invalid_bucket_width","too_many_buckets","too_many_group_by","invalid_filter","invalid_page_token","export_too_large","user_already_exists","self_invite_forbidden","invite_link_failed","invite_rate_limited","model_not_found","model_disabled","model_wrong_kind","max_tokens_exceeds_hard_cap","chat_model_misconfigured","embeddings_input_too_large","embeddings_unsupported_dimensions","pricing_frozen","provider_rate_limited","chat_provider_request_invalid","chat_provider_auth_failed","chat_provider_unavailable","max_input_tokens_exceeded","chat_provider_unknown_error","embeddings_provider_unknown_error","embeddings_batch_not_supported","embeddings_input_too_many_items","embeddings_video_unsupported","encoding_format_unsupported","missing_max_tokens_no_model_default","chat_cancel_target_not_found","chat_completion_not_found","chat_cancel_target_already_terminal","chat_cancel_target_not_cancellable","tool_choice_required_unsupported","response_format_too_large","response_format_too_deep","invalid_cursor","invalid_cursor_for_endpoint","model_slug_exists","output_expired","output_not_available","content_filtered","image_generation_failed","reference_media_invalid","reference_media_cap_reached","reference_fetch_failed","unsupported_auth_method","insufficient_scope","uploads_expired","character_resynthesize_in_progress","provider_unknown_error","first_frame_too_small"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable message","example":"Team available balance is 1.5 credits, generation requires 2.0.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","description":"Documentation link for this error code","example":"https://docs.aurous-labs.com/errors#balance_too_low","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"request_id":{"type":"string","description":"Echoes Aurous-Request-Id — quote in support tickets","example":"req_01HXMQ7Z3K8Y2VNABCDEFGHJKM","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"param":{"oneOf":[{"type":"object","description":"Field name when the error is parameter-scoped","example":"prompt","uniqueKey":"error.param.oneOf.0","typeLabel":"object"},{"type":"null","description":"Field name when the error is parameter-scoped","example":"prompt","uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.param","typeLabel":"object | null"},"reason":{"oneOf":[{"type":"string","description":"Sub-code refining `code`, for codes that document one. Present today only on `reference_unfit`; `null` otherwise. Branch on `code` first and treat an unrecognized `reason` as a generic failure of that code.","enum":["too_small","extreme_aspect","no_person","multiple_people","no_face","wrong_view","nudity_mismatch"],"example":"wrong_view","uniqueKey":"error.reason.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Sub-code refining `code`, for codes that document one. Present today only on `reference_unfit`; `null` otherwise. Branch on `code` first and treat an unrecognized `reason` as a generic failure of that code.","enum":["too_small","extreme_aspect","no_person","multiple_people","no_face","wrong_view","nudity_mismatch"],"example":"wrong_view","uniqueKey":"error.reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.reason","typeLabel":"enum\u003cstring> | null"},"detected_view":{"oneOf":[{"type":"string","description":"Present only on `reference_unfit` with `reason: \"wrong_view\"`: the view the rejected image actually depicts. Offer the customer that view instead of asking for a new photo — the same upload can be re-sent to it.","enum":["head_front","upper_front","lower_front","upper_back","lower_back","full_left","full_front","full_right","other"],"example":"full_left","uniqueKey":"error.detected_view.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Present only on `reference_unfit` with `reason: \"wrong_view\"`: the view the rejected image actually depicts. Offer the customer that view instead of asking for a new photo — the same upload can be re-sent to it.","enum":["head_front","upper_front","lower_front","upper_back","lower_back","full_left","full_front","full_right","other"],"example":"full_left","uniqueKey":"error.detected_view.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.detected_view","typeLabel":"enum\u003cstring> | null"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"invalid_request","code":"balance_too_low","message":"Team available balance is 1.5 credits, generation requires 2.0.","doc_url":"https://docs.aurous-labs.com/errors#balance_too_low","request_id":"req_01HXMQ7Z3K8Y2VNABCDEFGHJKM","param":"prompt","reason":"wrong_view","detected_view":"full_left"}}}},"exampleType":"generated"}},"headers":{"Aurous-Request-Id":{"description":"Server-minted request id. Quote this in support tickets.","schema":{"type":"string","example":"req_01HXMQ7Z3K8Y2NABCDEFGHJKMP"}},"Aurous-Version":{"description":"API version pin applied to this response (YYYY-MM-DD).","schema":{"type":"string","example":"2026-08-26"}},"X-RateLimit-Limit":{"description":"Bucket capacity (max tokens) for this endpoint class.","schema":{"type":"integer","example":120}},"X-RateLimit-Remaining":{"description":"Tokens remaining after this request.","schema":{"type":"integer","example":119}},"X-RateLimit-Reset":{"description":"Epoch seconds when the bucket would be full again, assuming no further requests.","schema":{"type":"integer","example":1700000060}}},"exampleType":"generated"},"11369926-0175-4c9e-8df9-433f0be286b3":{"description":"Idempotency-Key was reused with a different request body","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","description":"Error payload","required":["type","code","message","doc_url","request_id"],"properties":{"type":{"type":"string","description":"Broad error category","example":"invalid_request","enum":["invalid_request","authentication","not_found","rate_limit","server_error"],"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"Stable error code (programmatic discriminator). Closed-beta gate emits one of `account_pending`, `account_rejected`, `account_suspended` on 403.","example":"balance_too_low","enum":["invalid_request","missing_field","invalid_format","value_out_of_range","unsupported_lora_for_mode","generation_not_cancellable","prompt_blocked","reference_blocked","output_moderation_rejected","unknown_version","mutually_exclusive_input","character_not_ready","parameter_invalid_combination","character_status_invalid","character_busy","nudity_not_allowed","reference_unfit","reference_uploaded","build_requires_identity","style_retired","parameter_invalid","too_many_reference_images","action_not_available","upload_invalid","balance_too_low","idempotency_key_in_use","api_key_not_found","payload_too_large","missing_api_key","invalid_api_key","revoked_api_key","resource_not_found","forbidden_resource","account_pending","account_rejected","account_suspended","already_approved","already_rejected","already_suspended","invalid_reinstate_target","invalid_suspend_target","payment_not_reviewable","page_out_of_date","trial_already_used","cannot_moderate_admin","too_many_requests","concurrency_limit_exceeded","tpm_rate_limit_exceeded","internal_error","provider_unavailable","reference_check_unavailable","provider_timeout","provider_not_configured","invalid_time_range","invalid_bucket_width","too_many_buckets","too_many_group_by","invalid_filter","invalid_page_token","export_too_large","user_already_exists","self_invite_forbidden","invite_link_failed","invite_rate_limited","model_not_found","model_disabled","model_wrong_kind","max_tokens_exceeds_hard_cap","chat_model_misconfigured","embeddings_input_too_large","embeddings_unsupported_dimensions","pricing_frozen","provider_rate_limited","chat_provider_request_invalid","chat_provider_auth_failed","chat_provider_unavailable","max_input_tokens_exceeded","chat_provider_unknown_error","embeddings_provider_unknown_error","embeddings_batch_not_supported","embeddings_input_too_many_items","embeddings_video_unsupported","encoding_format_unsupported","missing_max_tokens_no_model_default","chat_cancel_target_not_found","chat_completion_not_found","chat_cancel_target_already_terminal","chat_cancel_target_not_cancellable","tool_choice_required_unsupported","response_format_too_large","response_format_too_deep","invalid_cursor","invalid_cursor_for_endpoint","model_slug_exists","output_expired","output_not_available","content_filtered","image_generation_failed","reference_media_invalid","reference_media_cap_reached","reference_fetch_failed","unsupported_auth_method","insufficient_scope","uploads_expired","character_resynthesize_in_progress","provider_unknown_error","first_frame_too_small"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable message","example":"Team available balance is 1.5 credits, generation requires 2.0.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","description":"Documentation link for this error code","example":"https://docs.aurous-labs.com/errors#balance_too_low","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"request_id":{"type":"string","description":"Echoes Aurous-Request-Id — quote in support tickets","example":"req_01HXMQ7Z3K8Y2VNABCDEFGHJKM","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"param":{"oneOf":[{"type":"object","description":"Field name when the error is parameter-scoped","example":"prompt","uniqueKey":"error.param.oneOf.0","typeLabel":"object"},{"type":"null","description":"Field name when the error is parameter-scoped","example":"prompt","uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.param","typeLabel":"object | null"},"reason":{"oneOf":[{"type":"string","description":"Sub-code refining `code`, for codes that document one. Present today only on `reference_unfit`; `null` otherwise. Branch on `code` first and treat an unrecognized `reason` as a generic failure of that code.","enum":["too_small","extreme_aspect","no_person","multiple_people","no_face","wrong_view","nudity_mismatch"],"example":"wrong_view","uniqueKey":"error.reason.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Sub-code refining `code`, for codes that document one. Present today only on `reference_unfit`; `null` otherwise. Branch on `code` first and treat an unrecognized `reason` as a generic failure of that code.","enum":["too_small","extreme_aspect","no_person","multiple_people","no_face","wrong_view","nudity_mismatch"],"example":"wrong_view","uniqueKey":"error.reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.reason","typeLabel":"enum\u003cstring> | null"},"detected_view":{"oneOf":[{"type":"string","description":"Present only on `reference_unfit` with `reason: \"wrong_view\"`: the view the rejected image actually depicts. Offer the customer that view instead of asking for a new photo — the same upload can be re-sent to it.","enum":["head_front","upper_front","lower_front","upper_back","lower_back","full_left","full_front","full_right","other"],"example":"full_left","uniqueKey":"error.detected_view.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Present only on `reference_unfit` with `reason: \"wrong_view\"`: the view the rejected image actually depicts. Offer the customer that view instead of asking for a new photo — the same upload can be re-sent to it.","enum":["head_front","upper_front","lower_front","upper_back","lower_back","full_left","full_front","full_right","other"],"example":"full_left","uniqueKey":"error.detected_view.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.detected_view","typeLabel":"enum\u003cstring> | null"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"invalid_request","code":"balance_too_low","message":"Team available balance is 1.5 credits, generation requires 2.0.","doc_url":"https://docs.aurous-labs.com/errors#balance_too_low","request_id":"req_01HXMQ7Z3K8Y2VNABCDEFGHJKM","param":"prompt","reason":"wrong_view","detected_view":"full_left"}}}},"exampleType":"generated"}},"headers":{"Aurous-Request-Id":{"description":"Server-minted request id. Quote this in support tickets.","schema":{"type":"string","example":"req_01HXMQ7Z3K8Y2NABCDEFGHJKMP"}},"Aurous-Version":{"description":"API version pin applied to this response (YYYY-MM-DD).","schema":{"type":"string","example":"2026-08-26"}},"X-RateLimit-Limit":{"description":"Bucket capacity (max tokens) for this endpoint class.","schema":{"type":"integer","example":120}},"X-RateLimit-Remaining":{"description":"Tokens remaining after this request.","schema":{"type":"integer","example":119}},"X-RateLimit-Reset":{"description":"Epoch seconds when the bucket would be full again, assuming no further requests.","schema":{"type":"integer","example":1700000060}},"Retry-After":{"description":"Seconds to wait before retrying. Present on 429 (rate limit), on 503 provider_unavailable, and on 409 character_busy. Prefer this over computing X-RateLimit-Reset − now.","schema":{"type":"integer","example":12}}},"exampleType":"generated"},"933c8d77-6806-4465-959b-496b4c51750b":{"description":"error.code is `too_many_requests` (request-count limit for this endpoint class) or `concurrency_limit_exceeded` — either your team has too many generations in flight, or (with a `reference_video_url` above ≈1080p) too many reference videos are being prepared right now. When a `Retry-After` header is present, wait that many seconds and resend; it takes precedence over the `X-RateLimit-*` headers.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","description":"Error payload","required":["type","code","message","doc_url","request_id"],"properties":{"type":{"type":"string","description":"Broad error category","example":"invalid_request","enum":["invalid_request","authentication","not_found","rate_limit","server_error"],"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"Stable error code (programmatic discriminator). Closed-beta gate emits one of `account_pending`, `account_rejected`, `account_suspended` on 403.","example":"balance_too_low","enum":["invalid_request","missing_field","invalid_format","value_out_of_range","unsupported_lora_for_mode","generation_not_cancellable","prompt_blocked","reference_blocked","output_moderation_rejected","unknown_version","mutually_exclusive_input","character_not_ready","parameter_invalid_combination","character_status_invalid","character_busy","nudity_not_allowed","reference_unfit","reference_uploaded","build_requires_identity","style_retired","parameter_invalid","too_many_reference_images","action_not_available","upload_invalid","balance_too_low","idempotency_key_in_use","api_key_not_found","payload_too_large","missing_api_key","invalid_api_key","revoked_api_key","resource_not_found","forbidden_resource","account_pending","account_rejected","account_suspended","already_approved","already_rejected","already_suspended","invalid_reinstate_target","invalid_suspend_target","payment_not_reviewable","page_out_of_date","trial_already_used","cannot_moderate_admin","too_many_requests","concurrency_limit_exceeded","tpm_rate_limit_exceeded","internal_error","provider_unavailable","reference_check_unavailable","provider_timeout","provider_not_configured","invalid_time_range","invalid_bucket_width","too_many_buckets","too_many_group_by","invalid_filter","invalid_page_token","export_too_large","user_already_exists","self_invite_forbidden","invite_link_failed","invite_rate_limited","model_not_found","model_disabled","model_wrong_kind","max_tokens_exceeds_hard_cap","chat_model_misconfigured","embeddings_input_too_large","embeddings_unsupported_dimensions","pricing_frozen","provider_rate_limited","chat_provider_request_invalid","chat_provider_auth_failed","chat_provider_unavailable","max_input_tokens_exceeded","chat_provider_unknown_error","embeddings_provider_unknown_error","embeddings_batch_not_supported","embeddings_input_too_many_items","embeddings_video_unsupported","encoding_format_unsupported","missing_max_tokens_no_model_default","chat_cancel_target_not_found","chat_completion_not_found","chat_cancel_target_already_terminal","chat_cancel_target_not_cancellable","tool_choice_required_unsupported","response_format_too_large","response_format_too_deep","invalid_cursor","invalid_cursor_for_endpoint","model_slug_exists","output_expired","output_not_available","content_filtered","image_generation_failed","reference_media_invalid","reference_media_cap_reached","reference_fetch_failed","unsupported_auth_method","insufficient_scope","uploads_expired","character_resynthesize_in_progress","provider_unknown_error","first_frame_too_small"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable message","example":"Team available balance is 1.5 credits, generation requires 2.0.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","description":"Documentation link for this error code","example":"https://docs.aurous-labs.com/errors#balance_too_low","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"request_id":{"type":"string","description":"Echoes Aurous-Request-Id — quote in support tickets","example":"req_01HXMQ7Z3K8Y2VNABCDEFGHJKM","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"param":{"oneOf":[{"type":"object","description":"Field name when the error is parameter-scoped","example":"prompt","uniqueKey":"error.param.oneOf.0","typeLabel":"object"},{"type":"null","description":"Field name when the error is parameter-scoped","example":"prompt","uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.param","typeLabel":"object | null"},"reason":{"oneOf":[{"type":"string","description":"Sub-code refining `code`, for codes that document one. Present today only on `reference_unfit`; `null` otherwise. Branch on `code` first and treat an unrecognized `reason` as a generic failure of that code.","enum":["too_small","extreme_aspect","no_person","multiple_people","no_face","wrong_view","nudity_mismatch"],"example":"wrong_view","uniqueKey":"error.reason.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Sub-code refining `code`, for codes that document one. Present today only on `reference_unfit`; `null` otherwise. Branch on `code` first and treat an unrecognized `reason` as a generic failure of that code.","enum":["too_small","extreme_aspect","no_person","multiple_people","no_face","wrong_view","nudity_mismatch"],"example":"wrong_view","uniqueKey":"error.reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.reason","typeLabel":"enum\u003cstring> | null"},"detected_view":{"oneOf":[{"type":"string","description":"Present only on `reference_unfit` with `reason: \"wrong_view\"`: the view the rejected image actually depicts. Offer the customer that view instead of asking for a new photo — the same upload can be re-sent to it.","enum":["head_front","upper_front","lower_front","upper_back","lower_back","full_left","full_front","full_right","other"],"example":"full_left","uniqueKey":"error.detected_view.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Present only on `reference_unfit` with `reason: \"wrong_view\"`: the view the rejected image actually depicts. Offer the customer that view instead of asking for a new photo — the same upload can be re-sent to it.","enum":["head_front","upper_front","lower_front","upper_back","lower_back","full_left","full_front","full_right","other"],"example":"full_left","uniqueKey":"error.detected_view.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.detected_view","typeLabel":"enum\u003cstring> | null"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"invalid_request","code":"balance_too_low","message":"Team available balance is 1.5 credits, generation requires 2.0.","doc_url":"https://docs.aurous-labs.com/errors#balance_too_low","request_id":"req_01HXMQ7Z3K8Y2VNABCDEFGHJKM","param":"prompt","reason":"wrong_view","detected_view":"full_left"}}}},"exampleType":"generated"}},"headers":{"Aurous-Request-Id":{"description":"Server-minted request id. Quote this in support tickets.","schema":{"type":"string","example":"req_01HXMQ7Z3K8Y2NABCDEFGHJKMP"}},"Aurous-Version":{"description":"API version pin applied to this response (YYYY-MM-DD).","schema":{"type":"string","example":"2026-08-26"}},"X-RateLimit-Limit":{"description":"Bucket capacity (max tokens) for this endpoint class.","schema":{"type":"integer","example":120}},"X-RateLimit-Remaining":{"description":"Tokens remaining after this request.","schema":{"type":"integer","example":119}},"X-RateLimit-Reset":{"description":"Epoch seconds when the bucket would be full again, assuming no further requests.","schema":{"type":"integer","example":1700000060}},"Retry-After":{"description":"Seconds to wait before retrying. Present on 429 (rate limit), on 503 provider_unavailable, and on 409 character_busy. Prefer this over computing X-RateLimit-Reset − now.","schema":{"type":"integer","example":12}}},"exampleType":"generated"},"9b2e2704-e47e-4e8d-b2ca-171edbcecc58":{"description":"Character generation is temporarily unavailable, or the platform could not verify your account/billing state or prepare the request (for example, reference images) before dispatch — error.code is `provider_unavailable` in every case. Retry after the number of seconds in the `Retry-After` header.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","description":"Error payload","required":["type","code","message","doc_url","request_id"],"properties":{"type":{"type":"string","description":"Broad error category","example":"invalid_request","enum":["invalid_request","authentication","not_found","rate_limit","server_error"],"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"Stable error code (programmatic discriminator). Closed-beta gate emits one of `account_pending`, `account_rejected`, `account_suspended` on 403.","example":"balance_too_low","enum":["invalid_request","missing_field","invalid_format","value_out_of_range","unsupported_lora_for_mode","generation_not_cancellable","prompt_blocked","reference_blocked","output_moderation_rejected","unknown_version","mutually_exclusive_input","character_not_ready","parameter_invalid_combination","character_status_invalid","character_busy","nudity_not_allowed","reference_unfit","reference_uploaded","build_requires_identity","style_retired","parameter_invalid","too_many_reference_images","action_not_available","upload_invalid","balance_too_low","idempotency_key_in_use","api_key_not_found","payload_too_large","missing_api_key","invalid_api_key","revoked_api_key","resource_not_found","forbidden_resource","account_pending","account_rejected","account_suspended","already_approved","already_rejected","already_suspended","invalid_reinstate_target","invalid_suspend_target","payment_not_reviewable","page_out_of_date","trial_already_used","cannot_moderate_admin","too_many_requests","concurrency_limit_exceeded","tpm_rate_limit_exceeded","internal_error","provider_unavailable","reference_check_unavailable","provider_timeout","provider_not_configured","invalid_time_range","invalid_bucket_width","too_many_buckets","too_many_group_by","invalid_filter","invalid_page_token","export_too_large","user_already_exists","self_invite_forbidden","invite_link_failed","invite_rate_limited","model_not_found","model_disabled","model_wrong_kind","max_tokens_exceeds_hard_cap","chat_model_misconfigured","embeddings_input_too_large","embeddings_unsupported_dimensions","pricing_frozen","provider_rate_limited","chat_provider_request_invalid","chat_provider_auth_failed","chat_provider_unavailable","max_input_tokens_exceeded","chat_provider_unknown_error","embeddings_provider_unknown_error","embeddings_batch_not_supported","embeddings_input_too_many_items","embeddings_video_unsupported","encoding_format_unsupported","missing_max_tokens_no_model_default","chat_cancel_target_not_found","chat_completion_not_found","chat_cancel_target_already_terminal","chat_cancel_target_not_cancellable","tool_choice_required_unsupported","response_format_too_large","response_format_too_deep","invalid_cursor","invalid_cursor_for_endpoint","model_slug_exists","output_expired","output_not_available","content_filtered","image_generation_failed","reference_media_invalid","reference_media_cap_reached","reference_fetch_failed","unsupported_auth_method","insufficient_scope","uploads_expired","character_resynthesize_in_progress","provider_unknown_error","first_frame_too_small"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable message","example":"Team available balance is 1.5 credits, generation requires 2.0.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","description":"Documentation link for this error code","example":"https://docs.aurous-labs.com/errors#balance_too_low","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"request_id":{"type":"string","description":"Echoes Aurous-Request-Id — quote in support tickets","example":"req_01HXMQ7Z3K8Y2VNABCDEFGHJKM","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"param":{"oneOf":[{"type":"object","description":"Field name when the error is parameter-scoped","example":"prompt","uniqueKey":"error.param.oneOf.0","typeLabel":"object"},{"type":"null","description":"Field name when the error is parameter-scoped","example":"prompt","uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.param","typeLabel":"object | null"},"reason":{"oneOf":[{"type":"string","description":"Sub-code refining `code`, for codes that document one. Present today only on `reference_unfit`; `null` otherwise. Branch on `code` first and treat an unrecognized `reason` as a generic failure of that code.","enum":["too_small","extreme_aspect","no_person","multiple_people","no_face","wrong_view","nudity_mismatch"],"example":"wrong_view","uniqueKey":"error.reason.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Sub-code refining `code`, for codes that document one. Present today only on `reference_unfit`; `null` otherwise. Branch on `code` first and treat an unrecognized `reason` as a generic failure of that code.","enum":["too_small","extreme_aspect","no_person","multiple_people","no_face","wrong_view","nudity_mismatch"],"example":"wrong_view","uniqueKey":"error.reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.reason","typeLabel":"enum\u003cstring> | null"},"detected_view":{"oneOf":[{"type":"string","description":"Present only on `reference_unfit` with `reason: \"wrong_view\"`: the view the rejected image actually depicts. Offer the customer that view instead of asking for a new photo — the same upload can be re-sent to it.","enum":["head_front","upper_front","lower_front","upper_back","lower_back","full_left","full_front","full_right","other"],"example":"full_left","uniqueKey":"error.detected_view.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Present only on `reference_unfit` with `reason: \"wrong_view\"`: the view the rejected image actually depicts. Offer the customer that view instead of asking for a new photo — the same upload can be re-sent to it.","enum":["head_front","upper_front","lower_front","upper_back","lower_back","full_left","full_front","full_right","other"],"example":"full_left","uniqueKey":"error.detected_view.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.detected_view","typeLabel":"enum\u003cstring> | null"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"invalid_request","code":"balance_too_low","message":"Team available balance is 1.5 credits, generation requires 2.0.","doc_url":"https://docs.aurous-labs.com/errors#balance_too_low","request_id":"req_01HXMQ7Z3K8Y2VNABCDEFGHJKM","param":"prompt","reason":"wrong_view","detected_view":"full_left"}}}},"exampleType":"generated"}},"headers":{"Aurous-Request-Id":{"description":"Server-minted request id. Quote this in support tickets.","schema":{"type":"string","example":"req_01HXMQ7Z3K8Y2NABCDEFGHJKMP"}},"Aurous-Version":{"description":"API version pin applied to this response (YYYY-MM-DD).","schema":{"type":"string","example":"2026-08-26"}},"X-RateLimit-Limit":{"description":"Bucket capacity (max tokens) for this endpoint class.","schema":{"type":"integer","example":120}},"X-RateLimit-Remaining":{"description":"Tokens remaining after this request.","schema":{"type":"integer","example":119}},"X-RateLimit-Reset":{"description":"Epoch seconds when the bucket would be full again, assuming no further requests.","schema":{"type":"integer","example":1700000060}},"Retry-After":{"description":"Seconds to wait before retrying. Present on 429 (rate limit), on 503 provider_unavailable, and on 409 character_busy. Prefer this over computing X-RateLimit-Reset − now.","schema":{"type":"integer","example":12}}},"exampleType":"generated"}},"security":{"6a6db774-e7d7-40c6-b4b0-04090657f3c2":{"api-key":{"type":"apiKey","in":"header","name":"X-Api-Key","description":"Your team API key (starts with `al_live_`).","scopes":[],"schemeName":"api-key"}}},"servers":{"3c5b35fe-5556-4c2f-b6fe-ccd0ce11e7d4":{"url":"https://api.aurous-labs.com","description":"Production"},"06ffff55-b13c-4345-afa1-017ab3f24f1d":{"url":"https://api.preprod.aurous-labs.com","description":"Preprod (staging)"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-Api-Key","description":"Your team API key (starts with `al_live_`).","scopes":[],"schemeName":"api-key"},"schema":{"title":"X-Api-Key","type":"string","description":"Your team API key (starts with `al_live_`).","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"api-key","name":"X-Api-Key"}],"title":"api-key"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"mayatech","siteName":"Aurous Labs","title":"Create a video - Aurous Labs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-23T06:19:16.901Z","originalFileLocation":"api-reference/videos/create-video.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Submit a video generation — text-to-video, image-to-video, or subject-driven with a saved character or reference images.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Aurous Labs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mayatech/EexJ-zapST-7nua7/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/mayatech/EexJ-zapST-7nua7/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mayatech/EexJ-zapST-7nua7/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mayatech/EexJ-zapST-7nua7/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mayatech/EexJ-zapST-7nua7/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mayatech/EexJ-zapST-7nua7/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mayatech/EexJ-zapST-7nua7/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mayatech/EexJ-zapST-7nua7/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mayatech/EexJ-zapST-7nua7/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a video - Aurous Labs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Submit a video generation — text-to-video, image-to-video, or subject-driven with a saved character or reference images.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Aurous Labs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.aurous-labs.com/api-reference/videos/create-video\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://mayatech.mintlify.site/_mintlify/api/og/v2?division=Videos\u0026amp;title=Create+a+video\u0026amp;description=Submit+a+video+generation+%E2%80%94+text-to-video%2C+image-to-video%2C+or+subject-driven+with+a+saved+character+or+reference+images.\u0026amp;theme=7c5530630653f93f1649bbcd\u0026amp;signature=e40b10487e620ec0d00726ee19e390edab7615023afcd03bb9c0419dfad112b6\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create a video - Aurous Labs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Submit a video generation — text-to-video, image-to-video, or subject-driven with a saved character or reference images.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://mayatech.mintlify.site/_mintlify/api/og/v2?division=Videos\u0026amp;title=Create+a+video\u0026amp;description=Submit+a+video+generation+%E2%80%94+text-to-video%2C+image-to-video%2C+or+subject-driven+with+a+saved+character+or+reference+images.\u0026amp;theme=7c5530630653f93f1649bbcd\u0026amp;signature=e40b10487e620ec0d00726ee19e390edab7615023afcd03bb9c0419dfad112b6\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/mayatech/EexJ-zapST-7nua7/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Aurous Labs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7C3AED\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.aurous-labs.com/api-reference/videos/create-video\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/videos/create-video.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.aurous-labs.com/#organization\",\"name\":\"Aurous Labs\",\"url\":\"https://docs.aurous-labs.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/mayatech/yW79tCRlCpJDDgoM/logo-light.png?fit=max\u0026auto=format\u0026n=yW79tCRlCpJDDgoM\u0026q=85\u0026s=f3dfa1506dde2b022b4496c2c2f55104\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.aurous-labs.com#website\",\"name\":\"Aurous Labs\",\"url\":\"https://docs.aurous-labs.com\",\"publisher\":{\"@id\":\"https://docs.aurous-labs.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.aurous-labs.com/api-reference/videos/create-video#webpage\",\"url\":\"https://docs.aurous-labs.com/api-reference/videos/create-video\",\"name\":\"Create a video\",\"description\":\"Submit a video generation — text-to-video, image-to-video, or subject-driven with a saved character or reference images.\",\"dateModified\":\"2026-10-23T06:19:16.901Z\",\"isPartOf\":{\"@id\":\"https://docs.aurous-labs.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.aurous-labs.com/api-reference/videos/create-video#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.aurous-labs.com/api-reference/videos/create-video#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.aurous-labs.com/api-reference/openapi\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a video\",\"item\":\"https://docs.aurous-labs.com/api-reference/videos/create-video\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.aurous-labs.com/api-reference/videos/create-video#apireference\",\"headline\":\"Create a video\",\"name\":\"Create a video\",\"description\":\"Submit a video generation — text-to-video, image-to-video, or subject-driven with a saved character or reference images.\",\"url\":\"https://docs.aurous-labs.com/api-reference/videos/create-video\",\"mainEntityOfPage\":{\"@id\":\"https://docs.aurous-labs.com/api-reference/videos/create-video#webpage\"},\"dateModified\":\"2026-10-23T06:19:16.901Z\",\"publisher\":{\"@id\":\"https://docs.aurous-labs.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.aurous-labs.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Aurous Labs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Aurous Labs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/videos/create-video.md","siteName":"Aurous Labs","nav":{"global":null,"groups":[{"group":"Get started","pages":[{"title":"Quickstart","href":"/quickstart"},{"title":"Authentication","href":"/authentication"}]},{"group":"Guides","pages":[{"title":"Drop in for OpenAI","href":"/guides/openai-drop-in"},{"title":"Choose a model","href":"/guides/model-comparison"},{"title":"How we count tokens","href":"/guides/how-we-count-tokens"},{"title":"Cost transparency","href":"/guides/cost-transparency"},{"title":"Error handling","href":"/guides/error-handling"},{"title":"Composition acts","href":"/guides/actions"}]},{"group":"Concepts","pages":[{"title":"Errors","href":"/errors"},{"title":"Idempotency","href":"/idempotency"},{"title":"Rate limits","href":"/rate-limits"},{"title":"Webhooks","href":"/webhooks"}]},{"group":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/openapi"},{"group":"Images","pages":[{"title":"Models \u0026 pricing","href":"/api-reference/images/models-and-pricing"},{"title":"Create an image","openapi":"POST /v1/images","href":"/api-reference/images/create-image"},{"title":"List your generation history","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/images","href":"/api-reference/public-api-v1/list-your-generation-history"},{"title":"Retrieve an image","openapi":"GET /v1/images/{id}","href":"/api-reference/images/retrieve-image"},{"title":"Cancel a pending or processing generation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/images/{id}/cancel","href":"/api-reference/public-api-v1/cancel-a-pending-or-processing-generation"},{"title":"Estimate the credit cost of an image generation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/images/estimate","href":"/api-reference/public-api-v1/estimate-the-credit-cost-of-an-image-generation"},{"title":"Get a single generated image","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/images/{id}/output/{n}","href":"/api-reference/images-proxy/get-a-single-generated-image"}]},{"group":"Chat completions","pages":[{"title":"Chat completions","href":"/api-reference/chat/overview"},{"title":"Streaming","href":"/api-reference/chat/streaming"},{"title":"Tools and function calling","href":"/api-reference/chat/tools"},{"title":"Multimodal input","href":"/api-reference/chat/multimodal"},{"title":"Reasoning effort","href":"/api-reference/chat/reasoning"},{"title":"Structured output","href":"/api-reference/chat/structured-output"},{"title":"Chat idempotency","href":"/api-reference/chat/idempotency"},{"title":"Chat cancellation","href":"/api-reference/chat/cancellation"},{"title":"Pricing","href":"/api-reference/chat/pricing"},{"title":"Create a chat completion","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/chat/completions","href":"/api-reference/chat/create-a-chat-completion"},{"title":"Retrieve a stored chat completion","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/chat/completions/{id}","href":"/api-reference/chat/retrieve-a-stored-chat-completion"},{"title":"Cancel an in-flight chat completion","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/chat/completions/{id}/cancel","href":"/api-reference/chat/cancel-an-in-flight-chat-completion"},{"title":"List chat, embedding, video, and image models","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/models","href":"/api-reference/models/list-chat-embedding-video-and-image-models"}]},{"group":"Embeddings","pages":[{"title":"Embeddings","href":"/api-reference/embeddings/overview"},{"title":"Multimodal embeddings","href":"/api-reference/embeddings/multimodal"},{"title":"Output Dimensions","href":"/api-reference/embeddings/dimensions"},{"title":"Embedding limits","href":"/api-reference/embeddings/limits"},{"title":"URL fetching for image_url","href":"/api-reference/embeddings/url-fetching"},{"title":"OpenAI batch input is not supported","href":"/api-reference/embeddings/openai-batch-incompat"},{"title":"Pricing","href":"/api-reference/embeddings/pricing"},{"title":"Estimate Cost Before Embedding","href":"/api-reference/embeddings/estimate"},{"title":"Create embeddings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/embeddings","href":"/api-reference/embeddings/create-embeddings"},{"title":"Estimate embedding credits","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/embeddings/estimate","href":"/api-reference/embeddings/estimate-embedding-credits"}]},{"group":"Characters","pages":[{"title":"Views and lifecycle","href":"/api-reference/characters/views-and-lifecycle"},{"title":"List character views","openapi":"GET /v1/characters/views","href":"/api-reference/characters/list-views"},{"title":"Mint a character upload URL","openapi":"POST /v1/characters/uploads/init","href":"/api-reference/characters/upload-init"},{"title":"Classify an uploaded ref","openapi":"POST /v1/characters/uploads/classify","href":"/api-reference/characters/upload-classify"},{"title":"Create a character draft","openapi":"POST /v1/characters/drafts","href":"/api-reference/characters/create-draft"},{"title":"Put a photo into a view","openapi":"PUT /v1/characters/{id}/refs/{view}","href":"/api-reference/characters/put-ref"},{"title":"Remove a view from a draft","openapi":"DELETE /v1/characters/{id}/refs/{view}","href":"/api-reference/characters/delete-ref"},{"title":"Build a character","openapi":"POST /v1/characters/{id}/build","href":"/api-reference/characters/build-character"},{"title":"Create a character","openapi":"POST /v1/characters","href":"/api-reference/characters/create-character"},{"title":"List characters","openapi":"GET /v1/characters","href":"/api-reference/characters/list-characters"},{"title":"Retrieve a character","openapi":"GET /v1/characters/{id}","href":"/api-reference/characters/retrieve-character"},{"title":"Update a character","openapi":"PATCH /v1/characters/{id}","href":"/api-reference/characters/update-character"},{"title":"Delete a character","openapi":"DELETE /v1/characters/{id}","href":"/api-reference/characters/delete-character"},{"title":"Regenerate a single ref pose","openapi":"POST /v1/characters/{id}/refs/regenerate","href":"/api-reference/characters/regenerate-ref"},{"title":"Regenerate a view","openapi":"POST /v1/characters/{id}/refs/{view}/regenerate","href":"/api-reference/characters/regenerate-view"},{"title":"Save a reviewing character","openapi":"POST /v1/characters/{id}/save","href":"/api-reference/characters/save-character"},{"title":"Resynthesize a character","description":"Re-run the synthesize pipeline to produce a fresh set of refs.","openapi":"POST /v1/characters/{id}/resynthesize","href":"/api-reference/characters/resynthesize-character"}]},{"group":"Videos","pages":[{"title":"Create a video","openapi":"POST /v1/videos","href":"/api-reference/videos/create-video"},{"title":"Estimate the credit cost of a video generation","description":"For a fixed duration, `estimated_cost.amount` is the exact charge. For adaptive (`duration: -1`, the default), `estimated_cost.adaptive` is `true` and the price is a range: `amount_min`–`amount_max`, where `amount` equals `amount_max` (the credits held up front). You are charged for the delivered length and refunded the difference. Same validation as POST /v1/videos, but without side effects — no character synthesis, no reference materialization. A cast (`subjects[]`) is validated identically to POST /v1/videos — cast characters are existence/readiness-checked — and does not change the price.\n\n`reference_video_url`/`reference_audio_url` (a `file_\u003culid>` from POST /v1/files or an HTTPS URL) are validated for shape and parameter-combination compatibility, identically to `POST /v1/videos`. A `file_\u003culid>` additionally gets the same read-only checks the create call performs — it must exist, belong to your team (404 otherwise), and have been uploaded with the matching purpose (400 `reference_media_invalid` otherwise). The media **bytes** are never fetched at estimate time — the estimate never touches the network — so byte-level validation (format, duration, resolution) and HTTPS-URL fetching only happen on the actual create call. A reference-to-video request is never charged for `enhance_prompt`, even when `enhance_prompt: true` — the system composes the prompt around the reference and never invokes the enhancer, so the flat enhance adder never applies.\n\nBecause the reference clip is never fetched, its real duration is unknown at estimate time, so a reference (`video_task: reference`) or extend request is priced at the 15-second input ceiling — an **upper bound**. The actual charge is typically lower: the create hold prices against the real clip length. As with the image estimate, this is a deliberate, conservative divergence on that path — a BYO-reference request is never charged more than this estimate.\n\n**Auto-matching is not run here, and the quote can miss in EITHER direction.** This endpoint prices exactly the request body you sent. Every *structural* validation rule is identical to POST /v1/videos, but model MATCHING is a create-time decision: if you omit `video_lora_id` and a video model then matches at create (from your prompt, or — when a `first_frame_url` is attached — from the image), the generation dispatches as a **video-input** generation and is priced accordingly. Which way the charge moves depends on what YOU pinned, because a matched model supplies `default_duration`, `default_resolution` AND `default_ratio` for whatever you left out, and all three are priced:\n\n- **You omitted `duration`/`resolution`** (the usual shape for a bare `first_frame_url` request): with no model, this endpoint has to price adaptive duration (the 15-second ceiling) at 1080p, and the matched model then brings a *shorter, smaller* default. The quote is an **upper bound that can substantially OVER-state** — measured on the first-frame path: `amount` 827.26 against an actual settled charge of 279.91. On these (adaptive) requests, `amount_min`/`amount_max` is the honest range to plan against; `amount` is only the ceiling that gets held.\n- **You sent `duration` and `resolution` explicitly**: your values win over the model defaults, so a match can only ADD the motion-reference input leg to the price. On that shape the charge genuinely **exceeds** this quote.\n\n**Pin `video_lora_id` whenever you need the quote to be exact** — that is the only value that removes matching from the create path entirely. `video_lora_id: null` opts out of IMAGE-based matching only, so on a request without a `first_frame_url` it does NOT make this quote exact; and on a request WITH one it also declines the model defaults, so an otherwise-bare request prices (and charges) the adaptive-15s/1080p fallback. This is inherent to auto-matching and is not specific to first frames.\n\n**Video and image rates are both DB-driven.** Video is priced from the live per-model rate table — see `GET /v1/models` for the current per-model credit rates — NOT frozen in the `Aurous-Version` rate card. Image pricing works the same way: the pixel-tiered rate card behind `POST /v1/images/estimate` is also read live from the registry and MAY change without an `Aurous-Version` bump — the same pricing asymmetry the LLM chat/embeddings surfaces use (spec §6.4). Pin an `Aurous-Version` for stable request/response **shapes**; call the matching estimate endpoint for an authoritative current-price quote immediately before you generate.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/videos/estimate","href":"/api-reference/public-api-v1/estimate-the-credit-cost-of-a-video-generation"},{"title":"Get the generated video","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/videos/{id}/output","href":"/api-reference/videos-proxy/get-the-generated-video"}]},{"group":"Seedance (raw)","pages":[{"title":"Seedance raw API","href":"/api-reference/seedance/overview"},{"title":"Models \u0026 pricing","href":"/api-reference/seedance/models-and-pricing"},{"title":"Create a task","href":"/api-reference/seedance/create-task"},{"title":"Retrieve a task","href":"/api-reference/seedance/retrieve-task"},{"title":"List tasks","href":"/api-reference/seedance/list-tasks"},{"title":"Cancel or delete a task","href":"/api-reference/seedance/cancel-delete"},{"title":"Differences from the native API","href":"/api-reference/seedance/differences"}]},{"group":"Files","pages":[{"title":"Upload a reference file","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/files","href":"/api-reference/public-api-v1/upload-a-reference-file"},{"title":"Get a file (re-mints a fresh 1h signed URL)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/files/{id}","href":"/api-reference/public-api-v1/get-a-file-re-mints-a-fresh-1h-signed-url"},{"title":"Immediately purge a file","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/files/{id}","href":"/api-reference/public-api-v1/immediately-purge-a-file"}]},{"group":"LoRAs","pages":[{"title":"List available LoRA styles","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/loras","href":"/api-reference/public-api-v1/list-available-lora-styles"},{"title":"Get a LoRA style by ID or slug","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/loras/{id}","href":"/api-reference/public-api-v1/get-a-lora-style-by-id-or-slug"},{"title":"List available video models","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/video_loras","href":"/api-reference/public-api-v1/list-available-video-models"},{"title":"Get a video model by ID or slug","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/video_loras/{id}","href":"/api-reference/public-api-v1/get-a-video-model-by-id-or-slug"}]},{"group":"Composition acts","pages":[{"title":"List available composition acts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/actions","href":"/api-reference/public-api-v1/list-available-composition-acts"},{"title":"Get a composition act by ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/actions/{id}","href":"/api-reference/public-api-v1/get-a-composition-act-by-id"}]},{"group":"Webhooks","pages":[{"title":"Register a webhook endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/webhook_endpoints","href":"/api-reference/public-api-v1/register-a-webhook-endpoint"},{"title":"List webhook endpoints","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/webhook_endpoints","href":"/api-reference/public-api-v1/list-webhook-endpoints"},{"title":"Get a webhook endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/webhook_endpoints/{id}","href":"/api-reference/public-api-v1/get-a-webhook-endpoint"},{"title":"Update a webhook endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/webhook_endpoints/{id}","href":"/api-reference/public-api-v1/update-a-webhook-endpoint"},{"title":"Delete a webhook endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/webhook_endpoints/{id}","href":"/api-reference/public-api-v1/delete-a-webhook-endpoint"},{"title":"Fire a synthetic test delivery","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/webhook_endpoints/{id}/test","href":"/api-reference/public-api-v1/fire-a-synthetic-test-delivery"},{"title":"Rotate the signing secret","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/webhook_endpoints/{id}/rotate_secret","href":"/api-reference/public-api-v1/rotate-the-signing-secret"},{"title":"List delivery attempts for a webhook endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/webhook_endpoints/{id}/deliveries","href":"/api-reference/public-api-v1/list-delivery-attempts-for-a-webhook-endpoint"}]},{"group":"Usage analytics","pages":[{"title":"Usage analytics","href":"/api-reference/usage/overview"},{"title":"Usage pagination","href":"/api-reference/usage/pagination"},{"title":"Per-request usage event stream","href":"/api-reference/usage/event-stream"},{"title":"Aggregated usage metrics","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/usage","href":"/api-reference/public-api-v1/aggregated-usage-metrics"},{"title":"List credit-ledger events","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/usage/events","href":"/api-reference/public-api-v1/list-credit-ledger-events"}]},{"group":"Account","pages":[{"title":"Get your team info","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/team","href":"/api-reference/public-api-v1/get-your-team-info"},{"title":"Get credit balance","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/balance","href":"/api-reference/public-api-v1/get-credit-balance"}]}]},{"group":"Resources","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Create a video - Aurous Labs","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-_HcdDqS2.js","snippetPresets-CXnm-WO6.js","utils-Dg59J__o.js","style-to-object-BY3JEAdk.js","utils-D8TRpdk7.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-B6QaxWc5.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DeMZ-lcM.js","_Uint8Array-BjA2mcVW.js","isObject-FP1Yky1u.js","ApiExamples-cjPyMv63.js","usePlaygroundInputsStore-D7BWoaw4.js","shallow-Z1ceDNSG.js","isEqual-BObTuQrO.js","CodeSnippets-D1UZ1AE-.js","CodeSnippet-B373COAT.js","getApiPlaygroundDisplay-CfL-UuDS.js","Page-DuqezyvM.js","DynamicMarkdown-5yMTCLas.js","SectionHeading-BxT1HYfP.js","icon-DYJTTD3g.js","MethodPill-4AyycJeu.js","getPastedJson-Bp3WV6cN.js","Check2Icon-PhZu6Gry.js","axios-CsQoIw0U.js","Markdown-Dy9a8hT8.js","AssistantPageLink-87tSPwGm.js","dist-CXMB3QQU.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}