Generate a video from a first frame with MiniMax H3, by asset id or by uploaded bytes
Generate a video from a first-frame image and a text prompt with MiniMax H3. Supply the first frame either as an image_asset_identifier reference (an image already stored with Ideogram) or as raw image bytes (multipart requests only) — callers are never required to upload the asset first. Exactly one source is required; supplying neither or both is rejected. Only image assets are accepted as a first frame. Uploaded bytes are used for this request only and are not stored as an asset.
To generate a transition between two stills, supply a final frame as well, in either of the same two forms: end_image_asset_identifier or end_image. The final frame is optional and follows the same one-form-only rule.
The generated video takes its aspect ratio from the first frame, so this endpoint accepts no aspect_ratio.
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
{
"image_asset_identifier": {
"asset_type": "RESPONSE",
"asset_id": "7uS_VESkRI6O3-sVgHQp_A"
},
"end_image_asset_identifier": {
"asset_type": "RESPONSE",
"asset_id": "7uS_VESkRI6O3-sVgHQp_A"
},
"prompt": "The camera slowly pans right as the waves roll in.",
"duration": 5,
"webhook_url": "https://api.example.com/webhooks/ideogram"
}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.818
- ○
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 property(media type: multipart/form-data)request-property-enum-value-removed
- ▲
removed the enum value
2kof the request property(media type: application/json)request-property-enum-value-removed
- ▲
removed the enum value
480pof the request property(media type: multipart/form-data)request-property-enum-value-removed
- ▲
removed the enum value
480pof the request property(media type: application/json)request-property-enum-value-removed
- ▲
removed the enum value
4kof the request property(media type: multipart/form-data)request-property-enum-value-removed
- ▲
removed the enum value
4kof the request property(media type: application/json)request-property-enum-value-removed
- ▲
removed the enum value
768pof the request property(media type: multipart/form-data)request-property-enum-value-removed
- ▲
removed the enum value
768pof the request property(media type: application/json)request-property-enum-value-removed
- ○
the
request property default value changed from2kto2K(media type: multipart/form-data)request-property-default-value-changed
- ○
the
request property default value changed from2kto2K(media type: application/json)request-property-default-value-changed
- ○
added the new
2Kenum value to the request property(media type: multipart/form-data)request-property-enum-value-added
- ○
added the new
2Kenum value to the request property(media type: application/json)request-property-enum-value-added
- ○
added the new
480Penum value to the request property(media type: multipart/form-data)request-property-enum-value-added
- ○
added the new
480Penum value to the request property(media type: application/json)request-property-enum-value-added
- ○
added the new
4Kenum value to the request property(media type: multipart/form-data)request-property-enum-value-added
- ○
added the new
4Kenum value to the request property(media type: application/json)request-property-enum-value-added
- ○
added the new
768Penum value to the request property(media type: multipart/form-data)request-property-enum-value-added
- ○
added the new
768Penum value to the request property(media type: application/json)request-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
- ○