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

flux-dev-realism

flux-dev-realism

【效率与协作】Flux Realism | Photorealistic AI Image Generation. Generate photorealistic images with Flux Dev enhanced by a realism LoRA. Triggers: flux realism, realistic image, photorealistic, flux realistic, photo generation

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

技能说明

GitHub

name: flux-dev-realism description: "Flux Realism | Photorealistic AI Image Generation. Generate photorealistic images with Flux Dev enhanced by a realism LoRA. Triggers: flux realism, realistic image, photorealistic, flux realistic, photo generation" allowed-tools: Bash(curl *), WebFetch

Flux Realism

Generate photorealistic images using Flux Dev enhanced with a realism LoRA. Optimized for lifelike photographs with configurable LoRA strength and guidance.

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": "flux-dev-realism",
    "version": "0.0.1",
    "input": {
      "prompt": "A photo of a woman, headshot, realistic, natural lighting",
      "aspect_ratio": "4:5",
      "lora_strength": 0.8,
      "num_inference_steps": 30,
      "guidance": 3.5
    }
  }'

Parameters

ParameterTypeDefaultDescription
aspect_ratiostring1:1Output aspect ratio. enum: 1:1, 16:9, 21:9, 2:3, 3:2, 4:5, 5:4, 9:16, 9:21
guidancenumber3.5Guidance controls adherence to the text prompt
lora_strengthnumber0.8LoRA strength controls the intensity of the realism effect
num_inference_stepsinteger30Number of inference steps
num_outputsinteger1Number of outputs to generate
output_formatstringwebpOutput format. enum: webp, jpg, png
output_qualityinteger80Quality of output images, from 0 to 100
promptstringA photo of a woman, headshot, realisticText prompt for generation
seedinteger-Random seed for reproducible generation

Examples

Professional headshot:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "flux-dev-realism",
    "version": "0.0.1",
    "input": {
      "prompt": "Professional corporate headshot of a man in a navy suit, clean white background, studio lighting, sharp focus",
      "aspect_ratio": "4:5",
      "lora_strength": 0.9,
      "num_inference_steps": 35,
      "guidance": 4,
      "output_format": "jpg",
      "output_quality": 95
    }
  }'

Realistic street photography:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "flux-dev-realism",
    "version": "0.0.1",
    "input": {
      "prompt": "A candid street photograph of a busy market in Marrakech, vibrant colors, natural sunlight, shot on 35mm film",
      "aspect_ratio": "3:2",
      "lora_strength": 0.8,
      "num_inference_steps": 30,
      "num_outputs": 2,
      "seed": 42
    }
  }'

Related Models

Documentation

我的收藏