Image Generation API Documentation
The asticaDesign image generation API provides the ability to generate realistic photographs and creative images within your application or project. The image generation API provides a simple mechanism for generating images according to the provided prompt describing the image; including the style, colors, and subject matter.
Images are generated in real-time and the response includes a URL pointing to the created image. The REST API also supports a low priority mode for generating larger batches of images (non-realtime).
Try the online demonstration:
Generate Images Onlinehttps://design.astica.ai/generate_image
curl --location --request POST 'https://design.astica.ai/generate_image' \ --header 'Content-Type: application/json' \ --insecure \ --data '{ "tkn": "YOUR API KEY", "modelVersion": "2.0_full", "prompt": "close-up photography of older gentleman standing in the rain at night, in a street lit by lamps", "prompt_negative": "", "generate_quality": "high", "generate_lossless": 0, "seed": 0, "low_priority": "1" }'
Note that you need to replace "YOUR API KEY" with your actual API key.
Each call to the asticaDesign Image Generation API should include the parameters that you wish to detect. If you do not supply any parameters, then it will default to all and you will be billed for each transaction for every call.
List of astica Hearing Inputs- 1.0_full
- 2.0_full
- high
- standard ‐ default
- fast
- faster
- All Images are produced in 1024x1024 resolution.
- Higher qualities have longer generation times.
- 0 = disabled (JPG) ‐ default
- 1 = enabled (PNG)
Moderate OFF = 0
Returns moderated (safe) content and is turned ON by default.
Requires permissions to disable.
Request to disable moderation
{ "output": "https://design.astica.ai/path_to_image.png", "generate_quality": "standard", "generate_lossless": 1, "seed": 4323, "astica": { "request": "design", "requestType": "generate_image", "modelVersion": "2.0_full", "api_qty": 1.2691 }, "status": "success" }
Discover More AI
Experiment with different kinds of artificial intelligence. See, hear, and speak with astica.