Build with HappyHorse
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": "happyhorse-image-to-video",
"input": {
"seed": 0,
"duration": 5,
"resolution": "1080p",
"image_urls": "<image_urls>"
}
}'Inputs & settings
seedintegerRandom seed for reproducibility.
promptstringText prompt describing the video to generate (any language). Up to 5,000 characters.
durationintegerOutput duration in seconds. Must be between 3 and 15. Defaults to 5.
image_urlsarrayRequiredFirst-frame image URL list. Exactly one image is required. Image constraints: Format: JPEG, JPG, PNG, WEBP. Resolution: Width and height must be at least 300 pixels. Aspect ratio: 1:2.5 to 2.5:1. File size: Up to 10 MB.
resolutionstringOutput video resolution: 720p or 1080p (default). The output keeps the aspect ratio of the input image; 720p / 1080p set the resolution tier.
Options: 720p, 1080p
Full input schema
{
"type": "object",
"required": [
"image_urls"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"default": 0,
"maximum": 2147483647,
"minimum": 0,
"description": "Random seed for reproducibility."
},
"prompt": {
"type": "string",
"title": "Prompt",
"maxLength": 5000,
"description": "Text prompt describing the video to generate (any language). Up to 5,000 characters."
},
"duration": {
"type": "integer",
"title": "Duration",
"default": 5,
"maximum": 15,
"minimum": 3,
"description": "Output duration in seconds. Must be between 3 and 15. Defaults to 5."
},
"image_urls": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Image URLs",
"x-media": "image",
"maxItems": 1,
"description": "First-frame image URL list. Exactly one image is required. Image constraints: Format: JPEG, JPG, PNG, WEBP. Resolution: Width and height must be at least 300 pixels. Aspect ratio: 1:2.5 to 2.5:1. File size: Up to 10 MB."
},
"resolution": {
"enum": [
"720p",
"1080p"
],
"type": "string",
"title": "Resolution",
"default": "1080p",
"description": "Output video resolution: 720p or 1080p (default). The output keeps the aspect ratio of the input image; 720p / 1080p set the resolution tier."
}
}
}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.






