boreal-h3/text-to-videoGeneration type:
text_to_videoEndpoint:
POST /api/asset_generator/
Pricing
Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs.
Quick start
Input parameters
Send these fields ininput_params.
string
required
Text prompt for video generation.Minimum characters:
1.
Maximum characters: 7000.integer
default:5
The duration of the video in seconds.Allowed values:
5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15.string
default:"16:9"
The aspect ratio of the generated video.Allowed values:
"21:9", "16:9", "4:3", "1:1", "4:5", "3:4", "9:16".string
default:"768P"
768P, 1088P or 2K resolution.Allowed values:
"768P", "1088P", "2K".Complete JSON schema
Complete JSON schema
Response
The request returns the task withstatus: "initializing". Poll GET /api/asset_generator/{id}/ until status is done or failed, or pass a webhook_url to be notified. A finished task lists its files in assets and the credits it charged in credits_used.
