Submit
Starts a job and answers at once with a request id. Unknown fields are refused with 422.
Path
Model id, for example seedance-2.5
Query
Where we POST the result when the job ends. https, and public addresses only.
Headers
Send the same key again and you get the same request back, with no second charge. The same key with a different body is 409.
Pay the price from POST /v1/quote for this body. Expires after 15 minutes.
Body: wan-2.2
An older, cheaper Wan for a shot where nothing has to be perfect.
What to make, in plain words.
Number of frames to make.
What to keep out of the result.
Output size. Higher is sharper, slower and costs more.
480p580p720pShape of the result, for example 16:9 or 9:16.
auto16:99:161:1More steps can add detail and take longer.
Let the model add detail to a short prompt.
truefalsenoneregularHow closely to follow the prompt. Higher follows it more literally.
nonefilmrifetruefalselowmediumhighmaximumfastbalancedsmallA picture for the last frame.
A picture to start from. We fetch it and keep a copy for the job.
The same seed with the same settings gives a similar result. Leave it out for a random one.
Response 200
Your jobs ahead of this one in line. 0 is next to start
The price of this request, 6 decimal places, in the currency named by the `currency` field
The currency of every amount on this object and the items inside it. Always USD
curl -X POST "https://api.minicut.ai/v1/queue/wan-2.2" \
-H "Authorization: Key $MINIAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt":"a red fox runs through snow at dawn","resolution":"720p"}'{
"request_id": "0192f3a4-5b6c-7d8e-9f01-23456789abcd",
"status": "IN_QUEUE",
"queue_position": 0,
"status_url": "https://api.minicut.ai/v1/queue/wan-2.2/requests/0192f3a4-5b6c-7d8e-9f01-23456789abcd/status",
"response_url": "https://api.minicut.ai/v1/queue/wan-2.2/requests/0192f3a4-5b6c-7d8e-9f01-23456789abcd",
"cancel_url": "https://api.minicut.ai/v1/queue/wan-2.2/requests/0192f3a4-5b6c-7d8e-9f01-23456789abcd/cancel",
"price": "1.750000",
"currency": "USD"
}invalid_json The body is not JSONinvalid_webhook_url webhook_url is not https, or points at a private addressmissing_api_key No Authorization headerinvalid_api_key Wrong, unknown or revoked keyinsufficient_balance Your balance is under the priceaccount_frozen The account is frozenidempotency_conflict Same Idempotency-Key, different bodyquote_expired The quote is older than 15 minutes or for another bodyvalidation_error A field fails the model's settingsinput_fetch_failed An input URL could not be fetchedcontent_refused The content check refused itrate_limited Too many requests; wait for Retry-Afterinternal_error Our side; try againmodel_unavailable Cannot take jobs right now; try again in 60 s