Agnes Image 2.0 Flash is a high-performance image generation and editing model developed by Sapiens AI. It supports text-to-image, image-to-image, and multi-image composition workflows for creative design, marketing visuals, e-commerce product images, and social content production.
Model
agnes-image-2.0-flashAPI Endpoint
POST /v1/images/generationsSupported Workflows
Text-to-image, image-to-image, and multi-image composition.
Current Price
Image generation is currently
$0 / image.Overview
Agnes Image 2.0 Flash is optimized for fast, high-quality, and cost-effective image production workflows. The model has appeared on the Artificial Analysis image editing leaderboard with an ELO score of 1,184, ranking in the Top 20 range and demonstrating strong image editing capability.Core Capabilities
Text-to-image
Generate images from text prompts.
Image-to-image
Edit, transform, or enhance existing images.
Multi-image Input
Use multiple reference images to create a new image.
Image Editing
Modify composition, style, objects, backgrounds, and scenes.
Style Control
Control artistic style, lighting, layout, and visual direction.
Fast Generation
Designed for frequent, fast, production-grade creative workflows.
Use Cases
Creative Design
Posters, concept art, and social media visuals.
Marketing Content
Product ads, campaign creatives, and banners.
Image Editing
Object replacement, background replacement, style transfer, and local edits.
Character Composition
Combine multiple characters or reference images into one scene.
E-commerce
Product image enhancement, product staging, and marketing hero images.
Social Content
Memes, avatars, thumbnails, and lifestyle visual assets.
API Reference
Endpoint
Headers
Request Parameters
Important Notes
Text-to-image
Only
model, prompt, and size are required. Do not pass image.Image-to-image
Pass image URLs or Data URI Base64 values through
extra_body.image.No tags Required
Image-to-image requests do not require
tags: ["img2img"].Safe Examples
Use
YOUR_API_KEY in public documentation. Do not expose real API keys.Request Examples
- Text-to-image: URL Output
- Text-to-image: Base64 Output
- Image-to-image: URL Input + URL Output
- Image-to-image: Base64 Output
- Multi-image Composition
Response Format
- URL Output
- Base64 Output
Response Fields
Best Practices
Text-to-image Prompts
Text-to-image Prompts
Provide clear visual instructions, including subject, scene, style, lighting, composition, and quality requirements.
Image Editing Prompts
Image Editing Prompts
Clearly describe what should change and what should remain unchanged.
Multi-image Composition Prompts
Multi-image Composition Prompts
Describe the relationship between the input images and how they should be combined.
FAQ
Does Agnes Image 2.0 Flash support text-to-image?
Does Agnes Image 2.0 Flash support text-to-image?
Yes. Text-to-image requests only require
model, prompt, and size. The image parameter is not needed.Does Agnes Image 2.0 Flash support image-to-image?
Does Agnes Image 2.0 Flash support image-to-image?
Yes. Image-to-image requests require input images in
extra_body.image.Why does top-level response_format cause an error?
Why does top-level response_format cause an error?
In this API structure,
response_format should be placed inside extra_body. Placing it at the top level may cause a 400 error.What if the input image URL cannot be accessed?
What if the input image URL cannot be accessed?
Use a publicly accessible HTTPS image URL. If the image cannot be made public, use Data URI Base64 input.
How should client timeouts be configured?
How should client timeouts be configured?
Image generation may take several seconds to tens of seconds. A client timeout of
60s - 360s is recommended.Pricing
Integration Checklist
Use
agnes-image-2.0-flash as the model name.Use
https://apihub.agnes-ai.com/v1/images/generations as the API endpoint.For text-to-image, include
model, prompt, and size.For image-to-image, provide input images through
extra_body.image.Do not place
response_format at the top level of the request body.