一句话出图,再一句话改图
服务端按独立 4K 档位生成高分辨率原图,无需把 2K 图片手工拉伸。
通常约 1–3 分钟,拥堵时会自动重试;失败不扣费。
用多少付多少,无套餐绑定,余额随时可用。
生成图片可用于商业项目,放心创作。
高质量不靠堆词:一个视觉中心,一套环境,一种主光线
先说成品用途,再给观察视角。例如「Breathtaking 4K desktop wallpaper: aerial view of…」。壁纸、人像、海报与航拍需要不同构图。
只保留一个视觉中心和一套环境。景物可以丰富,但必须互相关联;不要同时塞入巨龙、舰队、城市、军队等多个主角。
用能直接画出来的词:青绿到深蓝的渐变、金色日出、体积光、薄雾层次、清晰倒影。它们比空泛的「震撼」更有效。
最后用少量一致的质感词收尾:ultra detailed, cinematic, photorealistic, 8k quality。不要混搭互相冲突的摄影、油画、动漫风格。
成品类型 + 明确视角 + 单一核心场景 + 2–4 个关联景物 + 色彩与光线 + 纵深或倒影 + 统一质感收尾。英文不是必须,但成熟提示词建议保持原样,避免再次自动扩写。
Breathtaking 4K desktop wallpaper: aerial view of a turquoise tropical lagoon, coral atolls, crystal clear gradient water from teal to deep blue, white sand, a few palm islands, ultra detailed, cinematic, photorealistic, 8k quality
Breathtaking 4K desktop wallpaper: a misty pine forest valley at golden sunrise, layered ridges fading into haze, volumetric god rays through the trees, a soft sun flare, ultra detailed, cinematic, photorealistic, 8k quality
Breathtaking 4K desktop wallpaper: vivid green and violet aurora borealis dancing over snowy mountains and a frozen mirror lake, star-filled night sky, crisp reflections, ultra detailed, cinematic, photorealistic, 8k quality
分辨率决定画布大小,提示词决定画面细节。先用 2K 验证构图,满意后原提示词切换 4K 出最终稿,通常最省成本。
标准 REST 接口,按量计费、用多少付多少。可先在上方演练场试用。
POST https://llmapi.pro/v1/images/generations
Authorization: Bearer <API 计费密钥>
image22K · ¥0.08 / 张适合构图试稿、社交媒体配图和批量迭代。先确认主体、视角和光线,再升 4K。
image2-4k4K · ¥0.15 / 张独立高分辨率档位,适合桌面壁纸、最终交付和需要放大查看的作品。高分辨率不会自动修复拥挤的构图。
两个模型使用相同的提示词方法。系统会在临时拥堵时自动重试和切换可用线路;只有成功返回图片才计费。
curl https://llmapi.pro/v1/images/generations \
-H "Authorization: Bearer $LLMAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "image2-4k",
"prompt": "Breathtaking 4K desktop wallpaper: vivid green and violet aurora borealis dancing over snowy mountains and a frozen mirror lake, star-filled night sky, crisp reflections, ultra detailed, cinematic, photorealistic, 8k quality",
"n": 1
}'
const res = await fetch("https://llmapi.pro/v1/images/generations", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.LLMAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "image2-4k", // 4K · ¥0.15 · image2=2K · 返回 b64_json
prompt: "Breathtaking 4K desktop wallpaper: vivid green and violet aurora borealis dancing over snowy mountains and a frozen mirror lake, star-filled night sky, crisp reflections, ultra detailed, cinematic, photorealistic, 8k quality",
n: 1,
}),
});
const data = await res.json();
// 图片以 base64 (b64_json) 内联返回(无外链)
const b64 = data.data[0].b64_json;
const buf = Buffer.from(b64, "base64"); // -> 保存为 .png
按量计费、用多少付多少。Body 字段:model、prompt、n(1–9 张);image2 与 image2-4k 两个模型均可调用。
按 model 名区分清晰度:image2=2K,image2-4k=4K;图片以 b64_json(base64)内联返回,无外链。