The DreamVideo 3.0 API is an advanced video generation model that supports multiple generation modes, including text-to-video and image-to-video, enabling flexible and high-quality video creation.
The DreamVideo 3.0 Text To Video API generates videos directly from a text prompt. It supports 480P and 720P output, with a configurable duration from 3 to 15 seconds.
taskId.Enum: application/json
Bearer authentication token. Example: Bearer {{APIKey}}.
Text prompt describing the video content to generate.
Video duration in seconds. Range: [3-15]. Default: 5.
Video resolution. Available options: 480P, 720P. Default: 480P.
Aspect ratio of the generated video. Default: auto. When provided, it must not be empty. Available options: 9:16, 3:4, 1:1, 4:3, 16:9.
The seed value used for generation to ensure reproducibility. Default: 42.
Returns 0 for success, or a specific error code.
Returns "success" or a descriptive error message.
The unique identifier for the task. Use this ID with the Polling API to retrieve the generated output.
Use the Polling API to retrieve the processing results.
Alternatively, you can enable Callback to receive task results automatically upon completion.
{
"code": 0,
"message": "success",
"data": {
"task": {
"taskId": "API-20d5247d5f2a418abfb1603ad4e28906",
"status": 3,
"executionTime": 84467,
"expire": 1788339892017,
"taskType": "dreamvideo_3.0/text_to_video",
"creditsConsumed": 10
},
"videos": [
{
"videoType": "mp4",
"videoUrl": "https://dreamapi-rs-aigc.newportai.com/dreamapi/o/2026-09-02/dreamvideo30_t2v_example.mp4"
}
]
}
}curl -X POST 'https://api.newportai.com/api/async/dreamvideo_3.0/text_to_video' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer {{key}}' \
-d '{
"prompt": "A person standing in close-up, then turning away and walking into a wide landscape",
"duration": 5,
"resolution": "480P",
"aspectRatio": "1:1",
"seed": 42
}'{
"code": 0,
"message": "success",
"data": {
"taskId": "API-20d5247d5f2a418abfb1603ad4e28906"
}
}