L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Productivité · SKILL.md

sora-2-text-to-video

sora-2-text-to-video

Sora 2 | Text to Video. Generate videos from text prompts using OpenAI Sora 2. Triggers: sora, text to video, sora 2, video generation, openai sora

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: sora-2-text-to-video description: "Sora 2 | Text to Video. Generate videos from text prompts using OpenAI Sora 2. Triggers: sora, text to video, sora 2, video generation, openai sora" allowed-tools: Bash(curl *), WebFetch

Sora 2 | Text to Video

Generate videos from text descriptions using OpenAI Sora 2. Supports configurable duration and aspect ratio for versatile video output.

Quick Start

Requires an each::labs API key. Get one at eachlabs.ai.

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "sora-2-text-to-video",
    "version": "0.0.1",
    "input": {
      "prompt": "A golden retriever puppy chasing a red ball across a green lawn in slow motion, sunny day",
      "duration": 4,
      "aspect_ratio": "16:9"
    }
  }'

Parameters

ParameterTypeDefaultDescription
aspect_ratiostring16:9The aspect ratio of the generated video. enum: 9:16, 16:9
durationinteger4Duration of the generated video in seconds
promptstringThe text prompt describing the video

Examples

Cinematic landscape:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "sora-2-text-to-video",
    "version": "0.0.1",
    "input": {
      "prompt": "Northern lights dancing across an Arctic sky above a frozen lake, slow camera pan, 4K quality",
      "duration": 4,
      "aspect_ratio": "16:9"
    }
  }'

Vertical format content:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "sora-2-text-to-video",
    "version": "0.0.1",
    "input": {
      "prompt": "A latte being prepared at a coffee counter, overhead shot, creamy foam art forming",
      "duration": 4,
      "aspect_ratio": "9:16"
    }
  }'

Related Models

Documentation

Skills enregistrées