Create video generation tasks
Creates asynchronous video generation tasks. Generation behavior is inferred from the required prompt, frame images, and typed reference assets.
Authorizations
Neural4D API key using the Bearer scheme.
Body
- Option 1
- Option 2
- Option 3
- Option 4
Video generation model identifier. Parameter defaults and allowed values depend on the selected model.
bytedance/seedance-2.0 "bytedance/seedance-2.0"
Required text instruction describing the video to generate.
1 - 1000Whether to generate native audio with the video.
Resolution allowed by the selected video model.
480p, 720p, 1080p, 4K "720p"
Aspect ratio allowed by the selected video model.
1:1, 16:9, 9:16, 4:3, 3:4 "16:9"
Duration allowed by the selected video model, in seconds.
4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 4 <= x <= 15Number of video generation tasks to create.
1 <= x <= 4First-frame and last-frame images uploaded through POST /openapi/v1/files. Supported formats are JPG, JPEG, PNG, and WEBP. Each frame_type may appear at most once, and every item requires file_id.
1 - 2 elementsUploaded image, video, and audio reference assets. Images support JPG, JPEG, PNG, and WEBP; videos support MP4 and MOV; audio supports MP3 and WAV. The endpoint accepts up to six images, four videos, and two audio files. Each audio file must be 2 to 15 seconds and no larger than 15 MB, and the combined audio duration must not exceed 15 seconds. Audio must be accompanied by at least one image or video. The downstream request body must not exceed 64 MB; do not Base64-encode large files. Every item declares its media type and requires file_id.
1 - 12 elementsOne typed image, video, or audio reference using a file ID returned by the file upload endpoint.
- Option 1
- Option 2
- Option 3
Response
Generation tasks accepted
Batch task ID returned by the generation request.
"normal-video-c50fe63e-699d-4d61-93f5-2099ab159d6d"
Generated child items created by the request.
1Current status shared by the submitted video tasks.
queued, processing, succeeded, failed Unix timestamp in seconds when the batch task was created.
Video generation mode shared by the submitted tasks.
text_to_video, first_frame_image_to_video, first_last_frame_image_to_video, reference_to_video Video generation model used by the submitted tasks.
bytedance/seedance-2.0, bytedance/seedance-2.0-fast, google/veo-3.1, xai/grok-imagine Total credits charged for the submitted tasks when available.

