ideogram4 工作流
Ideogram 4 text to image. ! Currently very unstable and censored ! Quality settings Instead of steps, you can control quality with /slot2: /slot2:turbo -> fast and rough /slot2:default -> default quality and speed /slot2:quality -> best quality, slowest render This workflow supports two ways to produce the JSON the model expects: (default) Model-assisted (LLM): Enter a short idea in as positive prompt and the system prompt asks LLM to write schema-compliant JSON. You won't see the generated JSON prompt, it is handled only internally. (/slot1:0) Raw input: You may use plain natural language, but structured JSON gives the most predictable layout and style control. Incompatible prompt WILL trigger "safety filter", even if prompt is SFW. About the model The model is trained on structured JSON captions (scene summary, style block, background, and optional per-object descriptions with bounding boxes and hex color palettes). Official inference validates prompts against that schema. Guidance uses flow-matching with asymmetric classifier-free guidance (the unconditional pass drops text tokens)—not a separate negative prompt string. Practical strengths: flexible resolution (about 256–2048 px per side), layout via normalized bounding boxes [y_min, x_min, y_max, x_max] on a 0–1000 grid, palette control with hex colors, and strong in-image text rendering when described in JSON. NOTE: If you see "Image blocked by safety filter" it is because of safety training in the model itself and there
兼容 / 可用于 Graydient 支持的应用
选项
| 选项 | 映射到 | 默认 |
|---|---|---|
(prompt) | Prompt text | — |
/run:ideogram4 | Workflow shortcode | ideogram4 |
使用的模型
/run:ideogram4 导入 在 ModelTrends 查看 面向开发者(可选)
API 示例代码。你可以用此工作流构建个人应用。准备部署时请 升级到商务计划。详见 完整渲染 API 文档。
curl https://cloud.graydient.ai/api/v3/render/ \
-X POST \
-H "Content-Type: application/vnd.api+json" \
-H "Accept: application/vnd.api+json" \
-H "Authorization: Bearer $GRAYDIENT_TOKEN" \
-d '{
"prompt": "/workflow /run:ideogram4 ",
"callback_url": "https://example.com/webhook/render"
}'这就是幕后工作原理。已经为你配置好了。上表中的参数插入这些槽位,允许你更改工作方式和加载的模型。你无需理解或修改它——它已经设置好,能直接使用。
此工作流页面列出了短代码、选项和 ModelTrends 下载。完整节点图可随工作流下载在 ModelTrends 获得。 此页面尚未绘制该工作流的节点图。请在 ModelTrends 打开以下载工作流文件和加载的模型。
所有工作流:强大工作流程