界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · 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

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

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

我的收藏