Image generation
Learn how to generate images from a prompt
Alting offers a standarized API for interacting with image generation models. This guide will show you how to generate images from a prompt using one of our supported models. Our image generation models can create images from text prompts.
Note: Support for image editing is not yet available, but will be added in the future.
Quickstart
To generate images from a prompt, you can use the images endpoint in the REST API, as seen in the examples below. We recommend using either our REST API using your HTTP client of choice, or the OpenAI SDK for your language of choice.
Choosing a model
When making a image generation request, the first thing you need to decide is which model to use. We offer a wide range of models with different capabilities and pricing.
- General purpose models: These models can generate a wide range of images, but are not specialized for any particular task. They are great for people, landscapes, anime, fantasy, and more.
- Specialized models: These models are optimized for specific tasks, such as generating faces, anime, logos, stickers, etc.
You can experiment with different models in our image app.