Build with HappyHorse 1.1
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-1-1-image-to-video",
"input": {
"prompt": "",
"duration": 5,
"resolution": "1080p",
"image_urls": "<image_urls>"
}
}'Inputs & settings
promptstringDescribes the video content to generate. Supports any language. Maximum: 5,000 non-Chinese characters or 2,500 Chinese
durationnumberThe duration of the generated video, in seconds. The value must be an integer in the range [3, 15]. Default: 5
image_urlsarrayRequiredThe URL of the first frame image. Image constraints: 1. Formats: JPEG, JPG, PNG, WEBP. 2. Resolution: Width and height must both be at least 300 pixels. 3. Aspect ratio: Between 1:2.5 and 2.5:1. 4. File size: Up to 20 MB.
resolutionstringThe resolution of the generated video. Options: 720p; 1080p 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": {
"prompt": {
"type": "string",
"title": "Prompt",
"default": "",
"maxLength": 5000,
"description": "Describes the video content to generate. Supports any language. Maximum: 5,000 non-Chinese characters or 2,500 Chinese"
},
"duration": {
"type": "number",
"title": "Duration",
"default": 5,
"maximum": 15,
"minimum": 3,
"description": "The duration of the generated video, in seconds. The value must be an integer in the range [3, 15]. Default: 5"
},
"image_urls": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Image URLs",
"x-media": "image",
"maxItems": 1,
"description": "The URL of the first frame image. Image constraints: 1. Formats: JPEG, JPG, PNG, WEBP. 2. Resolution: Width and height must both be at least 300 pixels. 3. Aspect ratio: Between 1:2.5 and 2.5:1. 4. File size: Up to 20 MB."
},
"resolution": {
"enum": [
"720p",
"1080p"
],
"type": "string",
"title": "Resolution",
"default": "1080p",
"description": "The resolution of the generated video. Options: 720p; 1080p 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.






