text-to-video

LTX Video 2.0 Fast - Create video from text

Generate a video from text prompt using the LTX Video 2.0 Fast model.

Features:

  • Fast video generation with resolutions up to 4K (2160p)
  • Extended duration options: 6-20 seconds in 2-second increments
  • Optional synchronized audio generation
  • Note: Durations longer than 10 seconds require 25 FPS and 1080p resolution
post/v1/ai/text-to-video/ltx-2-fast

Request

  • Base URL: https://api.magnific.com
  • URL: https://api.magnific.com/v1/ai/text-to-video/ltx-2-fast
  • Auth: API key in header x-magnific-api-key

Request body

webhook_urlstring uri

Webhook URL to notify when the task is completed

promptstring required

Text prompt describing the desired video content.

Tips:

  • Be specific about scenes, subjects, and visual details
  • Describe motion and camera movements
  • Mention lighting and atmosphere

Example: "A majestic eagle soaring through mountain valleys at sunset, camera slowly panning to follow the flight"

generate_audioboolean

Whether to generate synchronized audio for the video

seedinteger

Random seed for reproducibility. Use the same seed with identical parameters for similar results.

resolution'1080p' | '1440p' | '2160p'

Video resolution

duration6 | 8 | 10 | 12 | 14 | 16 | 18 | 20

Video duration in seconds. Fast model supports 6-20 seconds in 2-second increments. Note: Durations longer than 10 seconds require 25 FPS and 1080p resolution.

fps25 | 50

Frames per second for the generated video. Note: 50 FPS is only available for durations up to 10 seconds.

Example request

{
  "prompt": "A majestic eagle soaring through mountain valleys at sunset",
  "seed": 12345,
  "resolution": "1080p",
  "duration": 6,
  "fps": 25
}

Response

OK - The task exists and the status is returned

Example response

{
  "data": {
    "generated": [
      "https://openapi-generator.tech",
      "https://openapi-generator.tech"
    ],
    "task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
    "status": "CREATED"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.