---
title: "Text To Video"
method: POST
path: "/v1/video/text2video"
tags: ["AI Video"]
---

# Text To Video

`POST /v1/video/text2video`

## Request body

- CreateText2VideoTaskIn
  - `callback_url` string, uri, nullable — Callback notification URL for task results. If configured, the server will actively send notifications when the task status changes. The message schema of the notification can be found in the [Callback Protocol](/api-reference/callback/callback-protocol) section.
  - `prompt` string, required
  - `model` 't2v-2.4-faster' | 't2v-2.4-advanced'
  - `style` 'japanese_anime' | 'realistic' | 'pixel' | 'cartoon_game' | 'flat_color_anime' | '90s_style'
  - `seconds` integer, required — Output video duration in seconds.
  - `aspect_ratio` '16:9' | '9:16' | '1:1' | '4:3' | '3:4'

## Response `200`

Successful Response

- DomoOutTaskOut
  - `code` integer
  - `data` TaskOut, required
    - `task_id` string, uuid, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/domoai/apis/domoai-enterprise-api.md) · [All operations](https://skmtc.net/domoai/apis/domoai-enterprise-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/domoai/domoai-enterprise-api/versions/287d41982970/schema)
