Skip to main content
POST

Authorizations

string
default:"Bearer ${YOUR_API_KEY}"
required
Neural4D API key using the Bearer scheme.

Body application/json

enum<string>
required
Seedance 2.0 model.Available options: bytedance/seedance-2.0.
string
required
Required text instruction describing the video to generate.Required string length: 1 - 1000.
boolean
default:true
Whether to generate native audio with the video.
enum<string>
default:"720p"
Available options: 480p, 720p, 1080p, 4K.
enum<string>
default:"16:9"
Available options: 1:1, 16:9, 9:16, 4:3, 3:4.
enum<integer>
default:5
Duration in seconds.Available options: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15.
integer
default:1
Number of video generation tasks to create.Required range: 1 <= x <= 4.
object[]
First-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.Allowed array length: 1 - 2 elements.
object[]
Uploaded image, video, and audio references. The endpoint accepts up to six images, four videos, and two audio files. Audio must be accompanied by at least one image or video.

Response

Generation tasks accepted
string
required
Batch task ID returned by the generation request.Example: "normal-video-c50fe63e-699d-4d61-93f5-2099ab159d6d".
object[]
required
Generated child items created by the request.Allowed array length: 1 - unbounded elements.
enum<string>
required
Current status shared by the submitted video tasks.Available options: queued, processing, succeeded, failed.
integer<int64>
required
Unix timestamp in seconds when the batch task was created.
enum<string>
required
Video generation mode shared by the submitted tasks.Available options: text_to_video, first_frame_image_to_video, first_last_frame_image_to_video, reference_to_video.
enum<string>
required
Video generation model used by the submitted tasks.Available options: bytedance/seedance-2.0, bytedance/seedance-2.0-fast, google/veo-3.1, xai/grok-imagine.
object
Total credits charged for the submitted tasks when available.