壁纸级分辨率,细节锐利,可直接用于桌面与打印。
2K 秒级、4K 约 1 分钟,所见即所得。
用多少付多少,无套餐绑定,余额随时可用。
生成图片可用于商业项目,放心创作。
4 步写出大片,照着套就行
一句话说清画什么:对象 + 动作 + 环境。例:「一只橘猫趴在洒满阳光的窗台上」。越具体越好,别只写「一只猫」。
指定画风与拍摄方式:电影感、专业棚拍、水彩、3D 渲染、赛博朋克…… 一句风格词决定整体质感。
加上光线和情绪:金色逆光、柔和晨雾、霓虹夜景、体积光。光线最影响「高级感」。
结尾补画质词(ultra detailed、8K、photorealistic),把「不要什么」放最后,避免被当成主体。
Breathtaking 4K desktop wallpaper: a Norwegian fjord at golden sunrise, snow-capped mountains, a mirror lake, a wooden cabin, foreground wildflower meadow, warm volumetric sun rays, ultra detailed, cinematic, photorealistic, 8k quality
提示:点开下方画廊任意作品,可一键「复制提示词」直接拿去用。
标准 REST 接口,按量计费、用多少付多少。可先在上方演练场试用。
POST https://api.llmapi.pro/v1/images/generations
Authorization: Bearer <API 计费密钥>
image2
2K · ¥0.08 / 张
image2-4k
4K · ¥0.13 / 张
curl https://api.llmapi.pro/v1/images/generations \
-H "Authorization: Bearer $LLMAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "image2-4k",
"prompt": "a snow mountain lake at dusk, warm backlight, cinematic",
"n": 1
}'
const res = await fetch("https://api.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.13 · image2=2K · 返回 b64_json
prompt: "a snow mountain lake at dusk, cinematic",
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(张数);image2 与 image2-4k 两个模型均可调用。
按 model 名区分清晰度:image2=2K,image2-4k=4K;图片以 b64_json(base64)内联返回,无外链。