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

tencent-flux-srpo-image-to-image

tencent-flux-srpo-image-to-image

【效率与协作】Tencent | Flux | Srpo | Image to Image. Transform and enhance images using Tencent Flux SRPO model. Triggers: tencent, flux, srpo, image to image, image enhance, image transform

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

技能说明

GitHub

name: tencent-flux-srpo-image-to-image description: "Tencent | Flux | Srpo | Image to Image. Transform and enhance images using Tencent Flux SRPO model. Triggers: tencent, flux, srpo, image to image, image enhance, image transform" allowed-tools: Bash(curl *), WebFetch

Tencent | Flux | Srpo | Image to Image

Transform and enhance images using the Tencent Flux SRPO model. Supports acceleration modes, configurable strength for balancing between the original image and the generated output, and adjustable guidance scale.

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-image-to-image",
    "version": "0.0.1",
    "input": {
      "image_url": "https://example.com/photo.jpg",
      "prompt": "Enhance this photo with vivid colors and sharp details",
      "strength": 0.95,
      "guidance_scale": 4.5,
      "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_urlstringThe URL of the image to transform
num_imagesintegerThe number of images to generate
num_inference_stepsinteger40The number of inference steps to perform
output_formatstringjpegThe format of the generated image. enum: jpeg, png
promptstringThe prompt for image transformation
seedstringSeed for reproducible results
strengthnumber0.95Strength of the transformation (higher values = stronger transformation)

Examples

Style transformation with high strength:

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-image-to-image",
    "version": "0.0.1",
    "input": {
      "image_url": "https://example.com/landscape.jpg",
      "prompt": "Transform into a vibrant digital painting with dramatic sky colors",
      "strength": 0.98,
      "guidance_scale": 5.0,
      "num_inference_steps": 50,
      "output_format": "png"
    }
  }'

Subtle enhancement with 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-srpo-image-to-image",
    "version": "0.0.1",
    "input": {
      "image_url": "https://example.com/portrait.jpg",
      "prompt": "Enhance lighting and add soft bokeh to the background",
      "strength": 0.7,
      "acceleration": "regular",
      "guidance_scale": 4.5,
      "seed": "42"
    }
  }'

Related Models

Documentation

我的收藏