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

flux-depth-pro

flux-depth-pro

【效率与协作】Flux Depth Pro | Depth-Controlled Image Generation. Generate images guided by depth maps from control images. Triggers: flux depth, depth control, depth map, image generation, flux pro depth

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

技能说明

GitHub

name: flux-depth-pro description: "Flux Depth Pro | Depth-Controlled Image Generation. Generate images guided by depth maps from control images. Triggers: flux depth, depth control, depth map, image generation, flux pro depth" allowed-tools: Bash(curl *), WebFetch

Flux Depth Pro

Generate images using depth map control from input images. Flux Depth Pro automatically extracts depth information from a control image to guide the generation process.

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-depth-pro",
    "version": "0.0.1",
    "input": {
      "prompt": "a mystical forest scene with glowing mushrooms, fantasy art",
      "control_image": "https://example.com/reference-scene.jpg",
      "guidance": 10,
      "steps": 50,
      "output_format": "jpg"
    }
  }'

Parameters

ParameterTypeDefaultDescription
control_imagestring-Image to use as control input. Must be jpeg, png, gif, or webp
guidancenumber10Controls the balance between adherence to text/image prompt and creativity
output_formatstringjpgOutput format. enum: jpg, png
promptstring-Text prompt for image generation
prompt_upsamplingbooleanfalseAutomatically modify the prompt for more creative generation
safety_toleranceinteger2Safety tolerance, 1 is most strict and 6 is most permissive
seedinteger-Random seed. Set for reproducible generation
stepsinteger50Number of diffusion steps. Higher values yield finer details

Examples

Architecture reimagined:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "flux-depth-pro",
    "version": "0.0.1",
    "input": {
      "prompt": "a futuristic cyberpunk building at night, neon lights, rain-slicked streets",
      "control_image": "https://example.com/building-photo.jpg",
      "guidance": 12,
      "steps": 50,
      "seed": 99
    }
  }'

Stylized portrait with depth preservation:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "flux-depth-pro",
    "version": "0.0.1",
    "input": {
      "prompt": "oil painting portrait of a Renaissance nobleman, dramatic lighting, museum quality",
      "control_image": "https://example.com/portrait-photo.jpg",
      "guidance": 8,
      "steps": 40,
      "prompt_upsampling": true,
      "output_format": "png"
    }
  }'

Related Models

Documentation

我的收藏