Generate an image
Creates a picture from a text description and stores it in the workspace Library as a JPEG. Takes a few seconds. Each call counts toward the plan's monthly AI generated images, including prompts the safety filter blocks.
Authorization
apiKey An API key from Settings, Developers: Authorization: Bearer kc_live_...
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/images/generate" \ -H "Content-Type: application/json" \ -d '{ "prompt": "string" }'{ "id": "string", "url": "string", "width": 0, "height": 0, "remaining": 0}Redeploy a hosted site POST
Replaces every file of the site with a new ZIP, same rules as publishing. The address stays the same, so codes pointing at it keep working. Visitors switch to the new version only once every file is in place.
Settings
Your account on one side, the workspace on the other: profile, security, general, members, brand, domains, integrations, developers, plan and privacy.