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-dev

flux-dev

Flux Dev | AI Image Generation. Generate high-quality images from text prompts with Flux Dev. Triggers: flux dev, flux, text to image, image generation, ai image

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: flux-dev description: "Flux Dev | AI Image Generation. Generate high-quality images from text prompts with Flux Dev. Triggers: flux dev, flux, text to image, image generation, ai image" allowed-tools: Bash(curl *), WebFetch

Flux Dev

Generate high-quality images from text prompts using Flux Dev. Supports text-to-image and image-to-image modes with configurable aspect ratio, guidance, and quality settings.

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-dev",
    "version": "0.0.1",
    "input": {
      "prompt": "a photorealistic portrait of a woman in a sunlit garden, shallow depth of field, golden hour",
      "aspect_ratio": "4:5",
      "guidance": 3.5,
      "num_inference_steps": 28,
      "output_format": "webp"
    }
  }'

Parameters

ParameterTypeDefaultDescription
aspect_ratiostring1:1Output aspect ratio. enum: 1:1, 16:9, 21:9, 2:3, 3:2, 4:5, 5:4, 9:16, 9:21
disable_safety_checkerbooleanfalseDisable safety checker for generated images
guidancenumber3.5Guidance for generated image
imagestring-Input image for image-to-image mode
num_inference_stepsinteger28Number of denoising steps. Recommended range is 28-50
num_outputsinteger1Number of outputs to generate
output_formatstringwebpOutput format. enum: webp, png, jpg
output_qualityinteger80Quality when saving output images, from 0 to 100
promptstring-Prompt for generated image
prompt_strengthnumber0.8Prompt strength when using img2img. 1.0 is full destruction of input
seedinteger-Random seed. Set for reproducible generation

Examples

Landscape with high detail:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "flux-dev",
    "version": "0.0.1",
    "input": {
      "prompt": "a sweeping aerial view of Patagonian mountains and glaciers, dramatic clouds, National Geographic style, 8k",
      "aspect_ratio": "21:9",
      "guidance": 4,
      "num_inference_steps": 40,
      "output_format": "png",
      "output_quality": 100
    }
  }'

Image-to-image transformation:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "flux-dev",
    "version": "0.0.1",
    "input": {
      "prompt": "a vibrant pop art illustration in the style of Andy Warhol",
      "image": "https://example.com/portrait.jpg",
      "prompt_strength": 0.75,
      "guidance": 3.5,
      "num_inference_steps": 30,
      "seed": 42
    }
  }'

Multiple outputs:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "flux-dev",
    "version": "0.0.1",
    "input": {
      "prompt": "a cute robot assistant holding a coffee cup, 3D render, soft lighting, pastel colors",
      "aspect_ratio": "1:1",
      "num_outputs": 3,
      "guidance": 3.5,
      "num_inference_steps": 28
    }
  }'

Related Models

Documentation

Skills enregistrées