Build with MiniMax H3
Make your first request
Use your Sorceress API key on your server. The playground uses your signed-in account; your application uses the same model with an API key.
curl -X POST 'https://sorceress.games/api/v1/jobs' \
-H 'Authorization: Bearer $SORCERESS_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"model": "minimax-h3-image-to-video",
"input": {
"duration": 6,
"resolution": "2K",
"prompt": "<prompt>"
}
}'Inputs & settings
promptstringRequiredVideo generation prompt, length is between 1 and 7000 characters.
durationintegerRequiredGenerated video duration, supporting integer values from 4 to 15 seconds.
Options: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
resolutionstringVideo resolution.
Options: 768P, 2K
last_frame_urlstringLast frame image URL. Note: Either first_frame_url or last_frame_url must be provided. Image restrictions are the same as first_frame_url.
first_frame_urlstringFirst frame image URL. Note: Either first_frame_url or last_frame_url must be provided. Publicly accessible HTTP(S) URL; supports JPG, JPEG, PNG, WEBP, HEIC, HEIF formats; single image size not exceeding 30 MB, image side length between 256 and 5760 pixels, aspect ratio between 0.4 and 2.5.
Full input schema
{
"type": "object",
"required": [
"prompt",
"duration"
],
"properties": {
"prompt": {
"type": "string",
"title": "Prompt",
"maxLength": 7000,
"minLength": 1,
"description": "Video generation prompt, length is between 1 and 7000 characters."
},
"duration": {
"enum": [
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15
],
"type": "integer",
"title": "Duration",
"default": 6,
"maximum": 15,
"minimum": 4,
"description": "Generated video duration, supporting integer values from 4 to 15 seconds."
},
"resolution": {
"enum": [
"768P",
"2K"
],
"type": "string",
"title": "Resolution",
"default": "2K",
"description": "Video resolution."
},
"last_frame_url": {
"type": "string",
"title": "Last frame URL",
"format": "uri",
"x-media": "image",
"description": "Last frame image URL. Note: Either first_frame_url or last_frame_url must be provided. Image restrictions are the same as first_frame_url."
},
"first_frame_url": {
"type": "string",
"title": "First frame URL",
"format": "uri",
"x-media": "image",
"description": "First frame image URL. Note: Either first_frame_url or last_frame_url must be provided. Publicly accessible HTTP(S) URL; supports JPG, JPEG, PNG, WEBP, HEIC, HEIF formats; single image size not exceeding 30 MB, image side length between 256 and 5760 pixels, aspect ratio between 0.4 and 2.5."
}
}
}Results, saved runs & billing
Media requests return a job ID. Poll GET /api/v1/jobs/:id until it succeeds or fails; keep the same ID while it is processing. Long chat requests can also return a saved job to poll. Completed outputs are stored in your account, and successful work is billed using your model's current rates.
A multi-step workflow may include separately billed successful actions. If a connection drops, check your saved run before submitting it again.






