Ein Bild erzeugen
curl "$CCSIO_BASE_URL/images/generations" \
-H "Authorization: Bearer $CCSIO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "flux.2-klein-4b", "prompt": "A lighthouse at dawn, watercolor", "size": "1024x1024", "response_format": "b64_json"}' \
| jq -r '.data[0].b64_json' | base64 --decode > lighthouse.pngprompt: was gezeichnet werden soll. Er darf nicht leer sein.size:WIDTHxHEIGHTin Pixeln, zum Beispiel1024x1024.n: wie viele Bilder;seed: derselbe Seed und derselbe Prompt ergeben dasselbe Bild.response_format:b64_json, das Bild inline als Base64. URLs werden nicht ausgeliefert.