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-srpo-text-to-image

tencent-flux-srpo-text-to-image

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

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

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

Tencent | Flux | Srpo | Text to Image

Generate high-quality images from text descriptions using the Tencent Flux SRPO model. Supports acceleration modes, 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-srpo-text-to-image",
    "version": "0.0.1",
    "input": {
      "prompt": "A photorealistic red sports car parked on a cliffside road overlooking the Mediterranean Sea at sunset",
      "image_size": "landscape_16_9",
      "num_images": 1,
      "output_format": "jpeg"
    }
  }'

Parameters

ParameterTypeDefaultDescription
accelerationstringnoneGeneration 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

High-quality 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": "tencent-flux-srpo-text-to-image",
    "version": "0.0.1",
    "input": {
      "prompt": "Close-up portrait of a wise elderly man with deep wrinkles and kind eyes, studio lighting, black and white photography",
      "image_size": "portrait_4_3",
      "guidance_scale": 5.0,
      "num_inference_steps": 35,
      "output_format": "png"
    }
  }'

Fast batch 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-srpo-text-to-image",
    "version": "0.0.1",
    "input": {
      "prompt": "Minimalist logo design of a mountain with a sun, clean vector style, white background",
      "image_size": "square_hd",
      "acceleration": "high",
      "num_images": 4,
      "seed": "12345"
    }
  }'

Related Models

Documentation

Skills enregistrées