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

flux-2-turbo-text-to-image

flux-2-turbo-text-to-image

Flux 2 | Turbo | Text to Image. Generate images fast from text prompts with Flux 2 Turbo. Triggers: text to image, fast image generation, flux turbo, ai art

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: flux-2-turbo-text-to-image description: "Flux 2 | Turbo | Text to Image. Generate images fast from text prompts with Flux 2 Turbo. Triggers: text to image, fast image generation, flux turbo, ai art" allowed-tools: Bash(curl *), WebFetch

Flux 2 | Turbo | Text to Image

Generate images from text prompts using the Flux 2 Turbo model. Optimized for speed with optional prompt expansion and configurable guidance for balanced quality and performance.

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": "flux-2-turbo-text-to-image",
    "version": "0.0.1",
    "input": {
      "prompt": "A vibrant underwater coral reef teeming with tropical fish, sunlight filtering through the water",
      "image_size": "landscape_4_3",
      "guidance_scale": 2.5,
      "output_format": "png"
    }
  }'

Parameters

ParameterTypeDefaultDescription
enable_prompt_expansionbooleanfalseIf set to true, the prompt will be expanded for better results.
enable_safety_checkerbooleantrueIf set to true, the safety checker will be enabled.
guidance_scalenumber2.5Guidance scale for how closely the model follows the prompt.
image_sizestringlandscape_4_3The size of the image to generate. Options: square_hd, square, portrait_4_3, portrait_16_9, landscape_4_3, landscape_16_9
num_imagesinteger1The number of images to generate.
output_formatstringpngThe format of the generated image. Options: jpeg, png, webp
promptstring-The prompt to generate an image from.
seedinteger-The seed to use for the generation. If not provided, a random seed will be used.

Examples

Quick generation:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "flux-2-turbo-text-to-image",
    "version": "0.0.1",
    "input": {
      "prompt": "A modern minimalist kitchen with marble countertops and pendant lighting"
    }
  }'

Enhanced generation with prompt expansion:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "flux-2-turbo-text-to-image",
    "version": "0.0.1",
    "input": {
      "prompt": "Astronaut on Mars",
      "enable_prompt_expansion": true,
      "guidance_scale": 3.0,
      "num_images": 2,
      "image_size": "square_hd",
      "output_format": "webp",
      "seed": 9999
    }
  }'

Related Models

Documentation

Skills enregistrées