Skip to main content
POST

Authorizations

Authorization
string
header
required

Send your DreamTo API Key in the Authorization: Bearer <API Key> header.

Body

application/json

Request body of an H3 Context IR task, which analyzes the inputs and returns an enhanced structured prompt instead of a video.

model
enum<string>
default:MiniMax-H3
required

Model name. Must be MiniMax-H3.

Allowed values:

  • MiniMax-H3: MiniMax H3 flagship model.
Available options:
MiniMax-H3
content
object[]
required

Input items with exactly one non-empty text item; media rules are the same as for video generation.

Minimum array length: 1
duration
integer<int64>
required

Video duration in seconds, an integer from 4 to 15.

Required range: 4 <= x <= 15
ratio
enum<string>
default:adaptive

Aspect ratio. Required for text-to-video and cannot be adaptive; image-to-video always follows the input image (other values are ignored); multimodal reference defaults to adaptive.

Allowed values:

  • adaptive: Adaptive: image-to-video follows the input image, reference-to-video is decided by the model. Not available for text-to-video.
  • 21:9: 21:9 ultra-wide.
  • 16:9: 16:9 landscape.
  • 4:3: 4:3 landscape.
  • 1:1: 1:1 square.
  • 3:4: 3:4 portrait.
  • 9:16: 9:16 portrait.
Available options:
adaptive,
21:9,
16:9,
4:3,
1:1,
3:4,
9:16

Response

Task created.

Response of a successful create call.

task_id
string
required

Task ID, used to query the task.