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"
}