Image generation
clavue-img is the official image product id (premium pool). Call api.clavue.com — do not ship z-image-turbo or GPU hostnames in product code. Membership tries z-image-turbo (1024-class, 9 steps, CFG 0) then grok-imagine-image-2.0. Edits use inpaint / grok-imagine-image-2.0 — Turbo cannot edit. imux and web Chat render Markdown image links inline.
How to generate
- Web Chat / Imagine: pick clavue-img or ask to draw
- imux Agent Chat: official model clavue-img or imux_generate_image tool
- Images API: POST /v1/images/generations with model=clavue-img and aspect_ratio (9:16 / 1:1 / 16:9)
- Chat completions also accept model=clavue-img; reply is a Markdown image link
- Do not send steps/guidance or hit ttkk / 192.168.2.* from product clients
curl -sS https://api.clavue.com/v1/images/generations \
-H "Authorization: Bearer $CLAVUE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"model":"clavue-img","prompt":"Photorealistic half-body portrait, 85mm, soft window light, no watermark","aspect_ratio":"9:16"}'Recommended settings
Send a director-style English prompt and an aspect ratio. Do not send steps, guidance, or negative lists. Rewrite Chinese one-liners with auto first if you need a longer prompt.
{
"model": "clavue-img",
"prompt": "Photorealistic half-body portrait of a young woman, 85mm, soft window light, shallow depth, no watermark",
"aspect_ratio": "9:16"
}Prompt demo
One rewrite, then one image call. Do not mix song captions into the image prompt.
# Rewrite system (model: auto, thinking off)
You are an image prompt engineer. Write a 60–120 word English director description.
Order: subject → wardrobe/action → scene → lens → light → one style → quoted on-image text → positive constraints.
No masterpiece/8k. No negative list. Prompt only.
# User
半身人像,85mm,窗光,没有水印,竖构图。
# Then POST /v1/images/generations
{"model":"clavue-img","prompt":"<rewritten English>","aspect_ratio":"9:16"}Limits & safety
Image generations consume premium quota. Safety filters always apply — prohibited categories cannot be disabled. Do not attempt to strip provenance markers if present.