Tencent flux srpo text to image

From awesome-genmedia/skills · View interactive version

Tencent flux srpo text to image is an AI agent skill from the GitHub repository awesome-genmedia/skills. 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

How to use this skill

Skill file

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

| Parameter | Type | Default | Description |

|-----------|------|---------|-------------|

| acceleration | string | none | Generation speed. enum: none, regular, high |

| enable_safety_checker | boolean | true | If set to true, the safety checker will be enabled |

| guidance_scale | number | 4.5 | CFG scale for prompt adherence |

| image_size | string | landscape_4_3 | The size of the generated image. enum: square_hd, square, portrait_4_3, portrait_16_9, landscape_4_3, landscape_16_9 |

| num_images | integer | 1 | The number of images to generate |

| num_inference_steps | integer | 28 | The number of inference steps to perform |

| output_format | string | jpeg | The format of the generated image. enum: jpeg, png |

| prompt | string | | The prompt to generate an image from |

| seed | string | | Seed 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

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.