Welcome
This documentation provides comprehensive information about the Gnomy Image Generation API, which allows you to generate and manage images based on templates. The API is built using OpenAPI 3.1.0 specification and provides endpoints for managing projects, templates, and generated images.Image Generation API Endpoints
View the OpenAPI specification file
Authentication
All API endpoints are authenticated using an API key. The API key should be included in the request header using thex-api-key header:
Base URL
The API is accessible at:Key Features
- Project Management: Create and manage image generation projects
- Template Management: Handle templates for image generation
- Image Generation: Generate and retrieve images based on templates
- Pagination Support: All list endpoints support pagination
- Error Handling: Comprehensive error responses for all endpoints
Example Usage
Here’s an example of how to generate an image using the API:- Setting up the request payload with template ID and modifications
- Making a POST request to the images endpoint
- Including the required headers (Content-Type and x-api-key)
- Handling the response and potential errors