图像生成
clavue-img 是官方图像产品 ID(premium 池)。产品只调 api.clavue.com,不要写 z-image-turbo 或机房域名。membership 先打 z-image-turbo(1024 档、9 步、CFG 0),失败再 grok-imagine-image-2.0。改图走 inpaint / grok-imagine-image-2.0,Turbo 不能 edit。imux 与网页 Chat 内联渲染 Markdown 图片链接。
如何生成
- 网页 Chat / Imagine:选 clavue-img 或直接要求画图
- imux Agent Chat:官方模型 clavue-img 或 imux_generate_image 工具
- Images API:POST /v1/images/generations,model=clavue-img,带 aspect_ratio(9:16 / 1:1 / 16:9)
- chat completions 也可 model=clavue-img,回复是 Markdown 图链
- 产品客户端不要传 steps/guidance,也不要直连 ttkk / 192.168.2.*
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"}'推荐设置
传导演式英文 prompt 和画幅。不要传 steps、guidance 或 negative 列表。中文一句话先用 auto 扩写。
{
"model": "clavue-img",
"prompt": "Photorealistic half-body portrait of a young woman, 85mm, soft window light, shallow depth, no watermark",
"aspect_ratio": "9:16"
}提示词演示
先扩写一次,再打一次生图。不要把歌曲 caption 混进作图 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"}限制与安全
图像生成消耗 premium 额度。安全过滤始终生效——禁止类别不可关闭。若有来源标记,请勿尝试剥离。
NSFW 开关(若有)不会关闭审核。儿童性内容与非自愿亲密影像一律禁止。