Flux 3 text-to-image workflow
A basic Flux 3 text-to-image workflow: the Klein base in BF16 with a 9GB Text Upscaler, the Flux 2 VAE and a Qwen VL text encoder. 50 steps is recommended. On Graydient you can also run Distill, Base, BF16 Text Encoder and Upscaler presets for this family, the same ones listed on ModelTrends. A typical render takes about three minutes and wants around 28 GB of VRAM.
兼容 / 可用于 Graydient 支持的应用
选项
| 选项 | 映射到 | 默认 |
|---|---|---|
(prompt positive) | Text (Multiline) → value | — |
/guidance | KSampler → cfg | 3.5 |
/images | Empty Flux 2 Latent → batch_size | 1 |
/seed | KSampler → seed | random |
/size | Empty Flux 2 Latent → width, height | 1024 × 1024 |
/steps | KSampler → steps | 50 |
使用的模型
/run:flux3 导入
在 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:flux3 a lighthouse on a cliff at dusk",
"callback_url": "https://example.com/webhook/render"
}'
这就是幕后工作原理。已经为你配置好了。上表中的参数插入这些槽位,允许你更改工作方式和加载的模型。你无需理解或修改它——它已经设置好,能直接使用。
Load Diffusion Model#28
MODEL
Load CLIP (9GB Text Upscaler)#25
CLIP
Load CLIP#30
CLIP
Load VAE#32
VAE
Text (Multiline)#24
STRING
CLIP Text Encode (Prompt)#6
clipCONDITIONING
clip_upscale
text
Empty Flux 2 Latent#35
LATENT
KSampler#31
modelLATENT
positive
latent_image
VAE Decode#8
samplesIMAGE
vae
Save Image#9
images
只读视图。高亮的标签是调用时可设置的选项。 Base BF16 with 9GB Text Upscaler; 50 steps recommended.
所有工作流:强大工作流程