All models
Imagev1.0.0
Flux 2 Klein
Sub-second FLUX.2 generation for drafts and latency-critical steps
4 inputsIMAGE
Demo coming soon
Demo coming soon
Output
Fill in the inputs and run the node to see its output here.
Run it from your code
The same node, called by id from any surface. Every tab pins flux-2-klein and passes the ports below. Full guide.
import { BlitClient } from "@blitflow/sdk";
const { runNode } = new BlitClient({ apiKey: process.env.BLITFLOW_TOKEN });
const { outputs } = await runNode("flux-2-klein", {
prompt: { value: "example" },
reference: { ref: "https://..." },
aspectRatio: { value: "1:1" },
seed: { value: 1 },
});# Install once, then sign in
npm install -g blitflow
blitflow login
blitflow node flux-2-klein \
-i prompt="example" \
-i reference=@https://... \
-i aspectRatio="1:1" \
-i seed=1{
"name": "runs_node",
"arguments": {
"node": "flux-2-klein",
"inputs": {
"prompt": {
"value": "example"
},
"reference": {
"ref": "https://..."
},
"aspectRatio": {
"value": "1:1"
},
"seed": {
"value": 1
}
}
}
}curl https://studio.blitflow.com/api/v1/runs/node \
-H "Authorization: Bearer $BLITFLOW_TOKEN" \
-H "Content-Type: application/json" \
-d '{"node":"flux-2-klein","inputs":{"prompt":{"value":"example"},"reference":{"ref":"https://..."},"aspectRatio":{"value":"1:1"},"seed":{"value":1}}}'Schema
Inputs
| prompt* | TEXT | ||
| reference | IMAGE | ||
| aspectRatio | TEXT | 1:1 · 16:9 · 3:2 · 2:3 · 4:5 · 5:4 · 9:16 · 3:4 · 4:3 | 1:1 |
| seed | INT |
Outputs
| image | IMAGE |