Input Schema
{
"bodyFields": {
"aspect_ratio": {
"default": "16:9",
"description": "Video aspect ratio",
"enum": [
"9:16",
"16:9",
"1:1"
],
"required": false,
"type": "\"9:16\" | \"16:9\" | \"1:1\""
},
"auto_fix": {
"default": true,
"description": "Automatically attempt to fix prompts that fail content policy",
"required": false,
"type": "boolean"
},
"duration": {
"default": "8s",
"description": "Video length in seconds",
"enum": [
"4s",
"6s",
"8s"
],
"required": false,
"type": "\"4s\" | \"6s\" | \"8s\""
},
"enhance_prompt": {
"default": true,
"description": "Enhance the prompt for better generation quality",
"required": false,
"type": "boolean"
},
"generate_audio": {
"default": true,
"description": "Whether to generate audio. If false, 50% less credits will be used",
"required": false,
"type": "boolean"
},
"negative_prompt": {
"description": "Text describing what to exclude from the video",
"required": false,
"type": "string"
},
"prompt": {
"description": "The text prompt describing the video you want to generate",
"example": "A cinematic shot of a beach at sunset with waves crashing on the shore",
"required": true,
"type": "string"
},
"resolution": {
"default": "720p",
"description": "Output video resolution",
"enum": [
"720p",
"1080p"
],
"required": false,
"type": "\"720p\" | \"1080p\""
},
"seed": {
"description": "Random seed for reproducible generation",
"required": false,
"type": "integer"
}
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"jobId": {
"description": "Unique job identifier",
"type": "string"
},
"requestId": {
"description": "Provider request identifier",
"type": "string"
},
"status": {
"description": "Job status",
"enum": [
"processing",
"completed",
"failed"
],
"type": "string"
},
"statusUrl": {
"description": "URL to check job status",
"type": "string"
}
}