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

flux-2-pro

Flux 2 Pro. Professional-grade text-to-image generation. Triggers: text to image, flux, pro, image generation, professional

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: flux-2-pro description: "Flux 2 Pro. Professional-grade text-to-image generation. Triggers: text to image, flux, pro, image generation, professional" allowed-tools: Bash(curl *), WebFetch

Flux 2 Pro

Generate professional-quality images from text prompts with Flux 2 Pro. Offers streamlined controls with configurable safety tolerance for production-ready results.

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-pro",
    "version": "0.0.1",
    "input": {
      "prompt": "a photorealistic macro shot of morning dew on a rose petal",
      "image_size": "landscape_4_3",
      "output_format": "jpeg"
    }
  }'

Parameters

ParameterTypeDefaultDescription
enable_safety_checkerbooleantrueWhether to enable the safety checker.
image_sizestringlandscape_4_3The size of the generated image. enum: square_hd, square, portrait_4_3, portrait_16_9, landscape_4_3, landscape_16_9
output_formatstringjpegThe format of the generated image. enum: jpeg, png
promptstringThe prompt to generate an image from.
safety_tolerancestring2The safety tolerance level. 1 is most strict, 5 is most permissive. enum: 1, 2, 3, 4, 5
seedintegerThe seed to use for the generation.

Examples

Portrait 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-pro",
    "version": "0.0.1",
    "input": {
      "prompt": "cinematic portrait of a jazz musician playing saxophone, dramatic rim lighting, moody atmosphere",
      "image_size": "portrait_16_9",
      "output_format": "png",
      "seed": 42
    }
  }'

Product photography:

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-pro",
    "version": "0.0.1",
    "input": {
      "prompt": "luxury watch on a marble surface, studio lighting, commercial photography",
      "image_size": "square_hd",
      "output_format": "jpeg"
    }
  }'

Related Models

Documentation

Skills enregistrées