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

tencent-flux-1-srpo-text-to-image

tencent-flux-1-srpo-text-to-image

Tencent | Flux 1 | Srpo | Text to Image. Generate images from text prompts using Tencent Flux 1 SRPO with default acceleration. Triggers: tencent, flux 1, srpo, text to image, image generation

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: tencent-flux-1-srpo-text-to-image description: "Tencent | Flux 1 | Srpo | Text to Image. Generate images from text prompts using Tencent Flux 1 SRPO with default acceleration. Triggers: tencent, flux 1, srpo, text to image, image generation" allowed-tools: Bash(curl *), WebFetch

Tencent | Flux 1 | Srpo | Text to Image

Generate high-quality images from text descriptions using the Tencent Flux 1 SRPO model. Comes with regular acceleration by default for faster generation, configurable guidance scale, multiple image sizes, and adjustable inference steps.

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": "tencent-flux-1-srpo-text-to-image",
    "version": "0.0.1",
    "input": {
      "prompt": "A cozy cabin in the woods during winter, snow falling, warm light from the windows, photorealistic",
      "image_size": "landscape_4_3",
      "num_images": 1,
      "output_format": "jpeg"
    }
  }'

Parameters

ParameterTypeDefaultDescription
accelerationstringregularGeneration speed. enum: none, regular, high
enable_safety_checkerbooleantrueIf set to true, the safety checker will be enabled
guidance_scalenumber4.5CFG scale for prompt adherence
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
num_imagesinteger1The number of images to generate
num_inference_stepsinteger28The number of inference steps to perform
output_formatstringjpegThe format of the generated image. enum: jpeg, png
promptstringThe prompt to generate an image from
seedstringSeed for reproducible results

Examples

Detailed art generation:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "tencent-flux-1-srpo-text-to-image",
    "version": "0.0.1",
    "input": {
      "prompt": "A steampunk clockwork dragon made of brass gears and copper pipes, breathing golden flame, highly detailed concept art",
      "image_size": "square_hd",
      "guidance_scale": 5.0,
      "num_inference_steps": 35,
      "output_format": "png"
    }
  }'

Fast batch generation with high acceleration:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "tencent-flux-1-srpo-text-to-image",
    "version": "0.0.1",
    "input": {
      "prompt": "Product photography of a luxury perfume bottle on a marble surface with rose petals",
      "image_size": "portrait_16_9",
      "acceleration": "high",
      "num_images": 4,
      "output_format": "jpeg",
      "seed": "7890"
    }
  }'

Related Models

Documentation

Skills enregistrées