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

hunyuan-image-v3-text-to-image

hunyuan-image-v3-text-to-image

【效率与协作】Hunyuan Image v3 | Text to Image. Generate images from text prompts using Tencent Hunyuan Image v3. Triggers: hunyuan, text to image, image generation, tencent hunyuan

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

技能说明

GitHub

name: hunyuan-image-v3-text-to-image description: "Hunyuan Image v3 | Text to Image. Generate images from text prompts using Tencent Hunyuan Image v3. Triggers: hunyuan, text to image, image generation, tencent hunyuan" allowed-tools: Bash(curl *), WebFetch

Hunyuan Image v3 | Text to Image

Generate high-quality images from text descriptions using Tencent Hunyuan Image v3. Supports configurable guidance scale, inference steps, negative prompts, and multiple output sizes and formats.

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": "hunyuan-image-v3-text-to-image",
    "version": "0.0.1",
    "input": {
      "prompt": "A serene Japanese zen garden with raked sand patterns, moss-covered rocks, and a small maple tree with red leaves",
      "image_size": "landscape_16_9",
      "num_images": 1,
      "output_format": "png"
    }
  }'

Parameters

ParameterTypeDefaultDescription
enable_safety_checkerbooleantrueIf set to true, the safety checker will be enabled
guidance_scalenumber3.5Controls how much the model adheres to the prompt
image_sizestringsquare_hdThe desired size. enum: square_hd, square, portrait_4_3, portrait_16_9, landscape_4_3, landscape_16_9
negative_promptstringNegative prompt to guide away from certain concepts
num_imagesinteger1The number of images to generate
num_inference_stepsinteger28Number of denoising steps
output_formatstringpngThe format of the generated image. enum: jpeg, png
promptstringThe text prompt for image generation
seedintegerRandom seed for reproducible results

Examples

Detailed art with high guidance:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "hunyuan-image-v3-text-to-image",
    "version": "0.0.1",
    "input": {
      "prompt": "Photorealistic portrait of a cyberpunk samurai in neon-lit rain, detailed armor with LED accents",
      "negative_prompt": "blurry, low quality, deformed, ugly",
      "image_size": "portrait_16_9",
      "guidance_scale": 5.0,
      "num_inference_steps": 40,
      "num_images": 1,
      "output_format": "png"
    }
  }'

Multiple variations with seed:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "hunyuan-image-v3-text-to-image",
    "version": "0.0.1",
    "input": {
      "prompt": "Minimalist flat illustration of a mountain landscape with geometric shapes and soft gradient sky",
      "image_size": "landscape_4_3",
      "num_images": 4,
      "guidance_scale": 3.5,
      "output_format": "jpeg",
      "seed": 42
    }
  }'

Related Models

Documentation

我的收藏