ClipCloud AI Images
v0.1.3Generate AI images from text in 35 styles with ClipCloud.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
generate_image Generate image
Generate AI images (pictures, photos, illustrations, paintings, art) from a text prompt with ClipCloud, in one of 35 styles. Use it whenever the user asks to make, draw or create an image, instead of drawing it with code or SVG. Waits up to wait_seconds; if the images are not ready by then, returns a creation_id: then call get_image with it. Never call generate_image again for the same request because it is slow or returned an error after starting: that starts and charges a new generation. Returns temporary links and shows the images, and can save them to save_dir. Costs credits from the API k…
| Parameter | Type | Description |
|---|---|---|
prompt * | string | What to draw, up to 2000 characters. English works best: describe the subject, setting, light and composition. |
count | integer | How many images, 1 to 10. Make 1 unless the user asks for more. |
file_name | string | File name for saved images, without extension, for example "hero". With several images, -1, -2 and so on are added. Existing files are never replaced: a number is added instead. |
negative_prompt | string | What to avoid in the image, for example "text, watermark, blurry". |
return_images | boolean | Whether to show the finished images in the answer (up to 2 small ones) so you can see them. Links are always returned. Set false to save context. |
save_dir | string | Folder to save the finished images to: an absolute path, or a path relative to the open project. Created if missing. Leave empty to only get links. |
style | string | Style name, exactly as list_styles shows it. Examples: HD-HQ (default, 1024x1024), FullHD-HQ-h (1536x1024), FullHD-HQ-v (1024x1536), photorealistic-1, anime, aquarelle, pixel-art, lowquality (fast dra… |
wait_seconds | integer | How long this call may take, in seconds (default 45). Many apps cancel a tool call after about 60 seconds, so keep the default unless you know your app allows longer calls. If the images are not ready… |
get_image Get image
Get the images of a generation started by generate_image. Waits up to wait_seconds if they are not ready yet; call it again while it says "Still generating". Without creation_id it returns the latest generation started in this session (use that if generate_image timed out or failed after starting). Can save the images to save_dir.
| Parameter | Type | Description |
|---|---|---|
creation_id | string | The creation_id returned by generate_image, exactly as returned. Leave empty for the latest generation of this session. |
file_name | string | File name for saved images, without extension, for example "hero". With several images, -1, -2 and so on are added. Existing files are never replaced: a number is added instead. |
return_images | boolean | Whether to show the finished images in the answer (up to 2 small ones) so you can see them. Links are always returned. Set false to save context. |
save_dir | string | Folder to save the finished images to: an absolute path, or a path relative to the open project. Created if missing. Leave empty to only get links. |
wait_seconds | integer | How long this call may take, in seconds (default 45). Many apps cancel a tool call after about 60 seconds, so keep the default unless you know your app allows longer calls. If the images are not ready… |
list_styles List styles
List all ClipCloud styles with their image sizes and a short note. The style sets the look, the size and the price.
estimate_cost Estimate cost
Tell the price of a generation before making it. Nothing is generated or charged. This is the paid price; when the paid balance is empty, up to 25 images a day are free.
| Parameter | Type | Description |
|---|---|---|
count | integer | How many images, 1 to 10. Make 1 unless the user asks for more. |
style | string | Style name, exactly as list_styles shows it. Examples: HD-HQ (default, 1024x1024), FullHD-HQ-h (1536x1024), FullHD-HQ-v (1024x1536), photorealistic-1, anime, aquarelle, pixel-art, lowquality (fast dra… |
get_balance Get balance
Show the paid balance of the API key and how many free images are left today.
get_integration_guide Integration guide
How to add ClipCloud image generation (text-to-image REST API) to the user's own app, website, bot or script: endpoints, auth, waiting for results, error handling, costs, styles, and tested client code for JavaScript/TypeScript, Python, PHP or curl. Call it before writing code that uses the ClipCloud API, or when the user needs an image generation API for a project. Does not call the API.
| Parameter | Type | Description |
|---|---|---|
language | string | Language of the user's project, for the code example. "other" gives curl and JavaScript, which are easy to translate. |