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

vidu-q2-text-to-image

vidu-q2-text-to-image

Vidu Q2 | Text to Image. Generate images from text prompts with configurable aspect ratio. Triggers: text to image, vidu, image generation, t2i

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: vidu-q2-text-to-image description: "Vidu Q2 | Text to Image. Generate images from text prompts with configurable aspect ratio. Triggers: text to image, vidu, image generation, t2i" allowed-tools: Bash(curl *), WebFetch

Vidu Q2 | Text to Image

Generate images from text prompts using Vidu Q2 with configurable aspect ratio and reproducible results via seed control.

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": "vidu-q2-text-to-image",
    "version": "0.0.1",
    "input": {
      "prompt": "a cozy cabin in the woods during autumn, warm lighting",
      "aspect_ratio": "16:9"
    }
  }'

Parameters

ParameterTypeDefaultDescription
aspect_ratiostring16:9The aspect ratio of the output image. enum: 16:9, 9:16, 1:1
promptstringText prompt for image generation, max 1500 characters.
seedintegerRandom seed for generation.

Examples

Landscape image:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "vidu-q2-text-to-image",
    "version": "0.0.1",
    "input": {
      "prompt": "vast desert dunes at golden hour, dramatic shadows, photorealistic",
      "aspect_ratio": "16:9",
      "seed": 42
    }
  }'

Square portrait:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "vidu-q2-text-to-image",
    "version": "0.0.1",
    "input": {
      "prompt": "close-up portrait of an elderly craftsman with weathered hands, studio lighting",
      "aspect_ratio": "1:1"
    }
  }'

Related Models

Documentation

Skills enregistrées