Build with Hailuo 2.3 Standard
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": "hailuo-2-3-image-to-video-standard",
"input": {
"prompt": "<prompt>",
"image_url": "<image_url>",
"duration": "<duration>",
"resolution": "<resolution>"
}
}'Inputs & settings
promptstringRequiredText prompt describing the desired video animation (Max length: 5000 characters)
durationstringRequiredRequired. The duration of the video in seconds. 10 seconds videos are not supported for 1080p resolution.
Options: 6, 10
image_urlstringRequiredInput image to animate (Accepted types: image/jpeg, image/png, image/webp; Max size: 10.0MB)
resolutionstringRequiredRequired. The resolution of the generated video.
Options: 768P, 1080P
nsfw_checkerbooleanDefaults to false. When false, no additional content filtering is applied and results are returned directly by the model.
Full input schema
{
"type": "object",
"required": [
"prompt",
"image_url",
"duration",
"resolution"
],
"properties": {
"prompt": {
"type": "string",
"title": "Prompt",
"maxLength": 5000,
"description": "Text prompt describing the desired video animation (Max length: 5000 characters)"
},
"duration": {
"enum": [
"6",
"10"
],
"type": "string",
"title": "Duration",
"description": "Required. The duration of the video in seconds. 10 seconds videos are not supported for 1080p resolution."
},
"image_url": {
"type": "string",
"title": "Image URL",
"format": "uri",
"x-media": "image",
"description": "Input image to animate (Accepted types: image/jpeg, image/png, image/webp; Max size: 10.0MB)"
},
"resolution": {
"enum": [
"768P",
"1080P"
],
"type": "string",
"title": "Resolution",
"description": "Required. The resolution of the generated video."
},
"nsfw_checker": {
"type": "boolean",
"title": "NSFW checker",
"description": "Defaults to false. When false, no additional content filtering is applied and results are returned directly by the model."
}
}
}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.






