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.
所有工作流程:強大的工作流程