인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
생산성 및 협업 · SKILL.md

xai-grok-imagine-text-to-image

xai-grok-imagine-text-to-image

XAI | Grok | Imagine | Text to Image. Generate images from text prompts using xAI Grok Imagine. Triggers: text to image, grok, xai, generate image, t2i

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: xai-grok-imagine-text-to-image description: "XAI | Grok | Imagine | Text to Image. Generate images from text prompts using xAI Grok Imagine. Triggers: text to image, grok, xai, generate image, t2i" allowed-tools: Bash(curl *), WebFetch

XAI | Grok | Imagine | Text to Image

Generate images from text descriptions using xAI's Grok Imagine with configurable aspect ratios and output 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": "xai-grok-imagine-text-to-image",
    "version": "0.0.1",
    "input": {
      "prompt": "A photorealistic portrait of a space explorer on Mars with a red planet landscape behind them",
      "aspect_ratio": "16:9",
      "num_images": 1,
      "output_format": "jpeg"
    }
  }'

Parameters

ParameterTypeDefaultDescription
aspect_ratiostring1:1Aspect ratio. enum: 1:1, 3:4, 4:3, 9:16, 16:9
num_imagesinteger1Number of images to generate.
output_formatstringjpegOutput format. enum: jpeg, png, webp
promptstringText description of the desired image.

Examples

Widescreen landscape:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "xai-grok-imagine-text-to-image",
    "version": "0.0.1",
    "input": {
      "prompt": "An enchanted forest with bioluminescent mushrooms and floating fireflies at twilight",
      "aspect_ratio": "16:9",
      "output_format": "png"
    }
  }'

Multiple portrait images:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "xai-grok-imagine-text-to-image",
    "version": "0.0.1",
    "input": {
      "prompt": "A steampunk inventor in their workshop surrounded by brass gears and copper pipes",
      "aspect_ratio": "3:4",
      "num_images": 3,
      "output_format": "jpeg"
    }
  }'

Square product shot:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "xai-grok-imagine-text-to-image",
    "version": "0.0.1",
    "input": {
      "prompt": "A minimalist product photo of a luxury watch on a marble surface with soft studio lighting",
      "aspect_ratio": "1:1",
      "output_format": "webp"
    }
  }'

Related Models

Documentation

저장한 Skills