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

reve-text-to-image

reve-text-to-image

【效率与协作】Reve | Text to Image. Generate images from text prompts using the Reve model. Triggers: reve, text to image, image generation, reve image

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

技能说明

GitHub

name: reve-text-to-image description: "Reve | Text to Image. Generate images from text prompts using the Reve model. Triggers: reve, text to image, image generation, reve image" allowed-tools: Bash(curl *), WebFetch

Reve | Text to Image

Generate high-quality images from text descriptions using the Reve model. Supports multiple aspect ratios, output formats, and batch image generation.

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": "reve-text-to-image",
    "version": "0.0.1",
    "input": {
      "prompt": "A futuristic city skyline at twilight with flying cars and holographic billboards",
      "aspect_ratio": "16:9",
      "num_images": 1,
      "output_format": "png"
    }
  }'

Parameters

ParameterTypeDefaultDescription
aspect_ratiostring16:9The desired aspect ratio. enum: 16:9, 9:16, 3:2, 2:3, 4:3, 3:4, 1:1
num_imagesinteger1Number of images to generate
output_formatstringpngOutput format. enum: png, jpeg, webp
promptstringThe text description of the desired image

Examples

Portrait image for social media:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "reve-text-to-image",
    "version": "0.0.1",
    "input": {
      "prompt": "Professional headshot of a confident businesswoman in a modern glass office, natural lighting",
      "aspect_ratio": "9:16",
      "num_images": 1,
      "output_format": "jpeg"
    }
  }'

Multiple variations of a concept:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "reve-text-to-image",
    "version": "0.0.1",
    "input": {
      "prompt": "A magical forest with glowing mushrooms and fireflies, fantasy art style, ultra detailed",
      "aspect_ratio": "3:2",
      "num_images": 4,
      "output_format": "png"
    }
  }'

Related Models

Documentation

我的收藏