Skip to main content

Aquiles-Image.

Project description

Aquiles-Image

Aquiles-Image Logo

Easy, fast and cheap Diffusion Models that work for everyone.

🚀 FastAPI • Diffusers • Compatible with the OpenAI client

Python FastAPI OpenAI Compatible PyPI Version PyPI Downloads

🔥 What's New in Aquiles-Image

Feature Description
3x Faster Advanced inference optimizations
🎨 More Models Support for FLUX, SD3-3.5, Flux2 and more
🔧 Better DevX Improved CLI and monitoring capabilities
🔌 OpenAI Compatible Drop-in replacement for OpenAI's image APIs

📋 Prerequisites

  • Python 3.8+
  • CUDA-compatible GPU with 24GB+ VRAM
  • 10GB+ free disk space

Generating an image with stabilityai/stable-diffusion-3.5-medium

https://github.com/user-attachments/assets/00e18988-0472-4171-8716-dc81b53dcafa

Generating an image with black-forest-labs/FLUX.1-Krea-dev

https://github.com/user-attachments/assets/00d4235c-e49c-435e-a71a-72c36040a8d7

Editing an image with black-forest-labs/FLUX.1-Kontext-dev

Edit Script Result
Edit Script Edit Result

⚙️ Installation

From Pypi

uv pip install aquiles-image

From source

git clone https://github.com/Aquiles-ai/Aquiles-Image.git
cd Aquiles-Image
uv pip install .

🚀 Launch your Aquiles-Image server

aquiles-image serve --host "0.0.0.0" --port 5500 --model "stabilityai/stable-diffusion-3.5-medium"

🎨 Supported Models

⚠️ VRAM Requirements: Most models require 24GB+ VRAM with an additional ~10GB free for processing.

💻 Start your Aquiles-Image server in dev mode without loading models

Dev mode allows you to start the server without loading any AI models, ideal for rapid development, integration testing, or endpoint validation without requiring GPU or heavy computational resources.

aquiles-image serve --host "0.0.0.0" --port 5500 --no-load-model

What does dev mode do?

  • No model loading: Server starts instantly without downloading or loading AI models
  • Functional endpoints: All endpoints respond normally with test images
  • Realistic responses: Returns valid images that simulate model responses
  • Same format: Responses maintain the exact API format (URLs, base64, metadata)

Use cases

  • API integration development
  • Endpoint testing without GPU
  • Workflow validation
  • CI/CD environment testing
  • Development on machines without GPU resources

Note: Dev mode is for development only. For production, use the normal server with loaded models.

🎉 Generate your first image with Aquiles-Image

from openai import OpenAI
import requests

client = OpenAI(base_url="http://127.0.0.1:5500", api_key="__UNKNOWN__")

result = client.images.generate(
    model="stabilityai/stable-diffusion-3.5-medium",
    prompt="a white siamese cat",
    size="1024x1024"
)

print(f"URL of the generated image: {result.data[0].url}\n")

image_url = result.data[0].url
response = requests.get(image_url)

with open("image.png", "wb") as f:
    f.write(response.content)

print(f"Image downloaded successfully\n")

🎯 Perfect For

Use Case Description
🚀 AI Startups Building image generation features
👨‍💻 Developers Prototyping with Image Generation Models
🏢 Enterprises Scalable image AI infrastructure
🔬 Researchers Experimenting with multiple models

Built with ❤️ for the AI community

⭐ Star this project📖 Documentation💬 Community

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aquiles_image-0.1.89.tar.gz (2.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aquiles_image-0.1.89-py3-none-any.whl (2.6 MB view details)

Uploaded Python 3

File details

Details for the file aquiles_image-0.1.89.tar.gz.

File metadata

  • Download URL: aquiles_image-0.1.89.tar.gz
  • Upload date:
  • Size: 2.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for aquiles_image-0.1.89.tar.gz
Algorithm Hash digest
SHA256 b3bb9b882c0256f1119b2b7a2ba0a98a3b9a9145932c84061e0dd311cf29cb2c
MD5 1d662d43001029ff5a5d6ed23cb8bf25
BLAKE2b-256 dfce656d6c06c5159da993de8b78274009b4373b2ad7e7ac131951b576414e60

See more details on using hashes here.

File details

Details for the file aquiles_image-0.1.89-py3-none-any.whl.

File metadata

  • Download URL: aquiles_image-0.1.89-py3-none-any.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for aquiles_image-0.1.89-py3-none-any.whl
Algorithm Hash digest
SHA256 b7eca05653fb39768ddee7590bbacab76a12ede4f6b2b1c0a8be4be741b325f2
MD5 5f4d8dc017cd3d2274c1e7f0e05a96d3
BLAKE2b-256 101c39e89d506862f59032a4450fd397797a19203c2619012b4ddd12b0f5c5db

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page