text-to-video
WAN 2.7 - Create video from text
Generate a video from a text prompt using WAN 2.7. Supports configurable aspect ratios (16:9, 9:16, 1:1, 4:3, 3:4), resolutions (720P, 1080P), optional audio input, and duration from 2 to 15 seconds.
Key features:
- 720P and 1080P resolution support
- 5 aspect ratio options
- Optional audio-guided generation
- Automatic prompt expansion for richer output
- Duration range: 2-15 seconds
post/v1/ai/text-to-video/wan-2-7
Request
- Base URL: https://api.magnific.com
- URL: https://api.magnific.com/v1/ai/text-to-video/wan-2-7
- Auth: API key in header x-magnific-api-key
Request body
Example request
{
"webhook_url": "https://www.example.com/webhook",
"prompt": "A serene mountain landscape at golden hour with mist rising through the valley, cinematic slow camera pan",
"negative_prompt": "watermark, text, distortion, blurry, extra limbs",
"duration": 5,
"seed": 12345,
"additional_settings": {
"prompt_extend": true
}
}Response
OK - The task exists and the status is returned
Example response
{
"data": {
"generated": [
"https://openapi-generator.tech",
"https://openapi-generator.tech"
],
"task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"status": "CREATED"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.