executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
flux-kontext-proFlux.1 Kontext | Pro. Generate and edit images using Flux Kontext Pro. Professional AI image generation and editing. Triggers: flux kontext pro, kontext pro, flux pro, professional image edit, flux image generation, kontext pro edit
Independent GitHub snapshot · Automated classification · Original documentation governs
Generate and edit images using Flux Kontext Pro. Professional-grade image generation from text and image editing with reference images. A balanced option between speed and quality in the Flux Kontext family.
Requires an each::labs API key. Get one at eachlabs.ai.
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "flux-kontext-pro",
"version": "0.0.1",
"input": {
"prompt": "A cozy bookstore interior with warm lamp light, stacked vintage books, and a tabby cat sleeping on a windowsill",
"aspect_ratio": "16:9"
}
}'
| Parameter | Type | Default | Description |
|---|---|---|---|
| aspect_ratio | string | match_input_image | Output aspect ratio. Options: match_input_image, 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 4:5, 5:4, 21:9, 9:21, 2:1, 1:2 |
| input_image | string | - | Reference image. Must be jpeg, png, gif, or webp |
| prompt | string | - | Text description for generation or editing instruction |
| safety_tolerance | integer | 6 | Safety tolerance level |
| seed | integer | - | Random seed for reproducible generation (min: 1, max: 1000000000000000000) |
Generate from text:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "flux-kontext-pro",
"version": "0.0.1",
"input": {
"prompt": "An isometric 3D render of a tiny pixel art village with a river, bridge, and windmill, soft pastel colors",
"aspect_ratio": "1:1",
"seed": 42
}
}'
Edit an existing image:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "flux-kontext-pro",
"version": "0.0.1",
"input": {
"input_image": "https://example.com/landscape.jpg",
"prompt": "Add a hot air balloon floating in the sky and change the season to autumn with orange and red foliage",
"aspect_ratio": "match_input_image"
}
}'