Skip to main content
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-flash

API Endpoint

POST /v1/images/generations

Supported 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

Do not place response_format at the top level of the request body. For URL or Base64 output, place it inside extra_body.

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

Response Format

Response Fields

Best Practices

Provide clear visual instructions, including subject, scene, style, lighting, composition, and quality requirements.
Clearly describe what should change and what should remain unchanged.
Describe the relationship between the input images and how they should be combined.

FAQ

Yes. Text-to-image requests only require model, prompt, and size. The image parameter is not needed.
Yes. Image-to-image requests require input images in extra_body.image.
No. Do not pass tags: ["img2img"]. Use model, prompt, size, and extra_body.image instead.
In this API structure, response_format should be placed inside extra_body. Placing it at the top level may cause a 400 error.
Use a publicly accessible HTTPS image URL. If the image cannot be made public, use Data URI Base64 input.
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.