Generate a video from a text prompt with MiniMax H3
Generate a video from a text prompt with MiniMax H3.
Video generation always runs asynchronously: the response returns as soon as the request is accepted and carries only a generation_id. Poll for completion and results with GET /v1/generations/{generation_id} using that id, or supply a webhook_url to have the finished result POSTed to your server instead.
Video links are available for a limited period of time; download the video if you want to keep it.
Query parameters
When true, the request is validated and priced but not run: nothing is generated, stored, or billed, and no safety review is performed. The response is a PriceQuote object instead of the usual response for this endpoint. Send exactly the request you would send to generate, so the quote reflects the same options.
Request body
Example request
{
"duration": 5,
"aspect_ratio": null,
"private": true,
"webhook_url": "https://api.example.com/webhooks/ideogram",
"target_collection_id": "target_collection_id",
"prompt": "A red fox running through a snowy forest at dawn.",
"resolution": null
}Response
An acknowledgement to poll with GET /v1/generations/{generation_id}.
Example response
{
"generation_id": "generation_id",
"created": "2000-01-23T04:56:07+00:00"
}Changes
Changed in 5 of the 33 revisions of this API.413
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
- ▲
removed the enum value
2kof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
480pof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
4kof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
768pof the request propertyrequest-property-enum-value-removed
- ○
the
request property default value changed from2kto2Krequest-property-default-value-changed
- ○
added the new
2Kenum value to the request propertyrequest-property-enum-value-added
- ○
added the new
480Penum value to the request propertyrequest-property-enum-value-added
- ○
added the new
4Kenum value to the request propertyrequest-property-enum-value-added
- ○
added the new
768Penum value to the request propertyrequest-property-enum-value-added
This revision also has 13 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added the new optional
queryrequest parameterdry_runnew-optional-request-parameter
This revision also has 13 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
added the media type
application/jsonfor the response with the statusresponse-media-type-added
- ○
added the media type
application/jsonfor the response with the statusresponse-media-type-added
- ○
- ○
endpoint added
endpoint-added
- ○