Developer API

Integrate AI Image Generation Into Your Applications

Build powerful visual experiences with the Foneloft API. Generate images from text prompts, edit visuals, upscale images, and automate creative workflows through a simple and scalable API.

  • 99.99% uptime
  • ~ 4s p50 latency
  • REST · JSON
terminal · curl
curl https://api.foneloft.ai/v1/images/generate \
  -H "Authorization: Bearer sk_live_FL_8a3f9c..." \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Aurora over a glass city",
    "model": "foneloft-xl-v3",
    "size": "1024x1024",
    "steps": 30
  }'
200 OK3.8s
{
  "id": "img_7Fq3...",
  "image_url": "https://..."
}
API Overview

Build with Foneloft.

The Foneloft API lets developers, startups, and enterprises drop AI-powered image generation into websites, mobile apps, SaaS products, and internal tools — with one stable REST endpoint.

  • Sub-second cold start
  • SOC 2 ready infrastructure
  • Stable v1 endpoints
REST · JSONv1 stableSDKs coming
What you can do
7 primitives
  • Generate Images from TextPrompt → pixel-perfect output
  • Edit Existing ImagesMask, inpaint, restyle
  • Remove BackgroundsStudio-grade cutouts
  • Upscale ImagesUp to 8× detail recovery
  • Create VariationsN samples in one call
  • Automate WorkflowsWebhooks & batch jobs
  • Build Custom AI AppsComposable primitives
  • Read the API docs
    Quickstart in < 5 minutes
Core API Capabilities

Four endpoints, infinite possibilities.

One API surface — every primitive you need to ship rich visual experiences.

01

Text-to-Image API

Generate high-quality images from natural language prompts.

Endpointv1
POST /v1/images/generate
Features
  • Fast image generation
  • Multiple styles
  • Custom dimensions
  • High-resolution output
  • Batch generation
Example use cases
Design toolsMarketing platformsContent creation appsE-commerce solutions
02

Image Editing API

Modify existing images using AI-powered editing tools.

Endpointv1
POST /v1/images/edit
Features
  • Object removal
  • Object replacement
  • Background replacement
  • Style transformation
  • Image enhancement
Example use cases
Photo studiosDesign suitesE-commerce ops
03

Background Removal API

Automatically isolate subjects and remove backgrounds.

Endpointv1
POST /v1/images/remove-background
Features
  • Subject-aware masking
  • Edge-perfect output
  • Bulk processing
  • Transparent PNG export
Example use cases
Product photographyE-commerce platformsGraphic design toolsMarketing workflows
04

Image Upscaling API

Enhance image resolution while preserving quality and detail.

Endpointv1
POST /v1/images/upscale
Features
  • 2× / 4× / 8× scaling
  • Improved clarity
  • High-quality output
  • Print-ready assets
  • Professional visuals
Example use cases
Print & publishingGalleriesRestoration tools
API Endpoints

One elegant surface.

Five focused endpoints. Predictable JSON. Pick one and play.

POST/v1/images/generate
request.json

Generate Image

Create images from text prompts.

{
  "prompt": "Aurora over a glass city",
  "model": "foneloft-xl-v3",
  "size": "1024x1024",
  "steps": 30,
  "n": 1
}
Use cases
AI image generationContent creationMarketing automationCreative applications
Developer Experience

Built for developers who ship.

Sensible defaults, sane errors, and the docs you actually want to read.

Easy Integration

Drop Foneloft into your stack with minimal effort. REST in, JSON out, sensible status codes — no surprises.

  • REST API Architecture
  • JSON Responses
  • Secure Authentication
  • Fast Processing
  • Scalable Infrastructure

Authentication

Secure access using API keys. Rotate without downtime, scope per environment, monitor everything in real time.

Headerrequired
Authorization: Bearer sk_live_FL_•••••
  • API Key Authentication
  • Access Management
  • Usage Monitoring
  • Security Controls
Generate your first key

Developer Resources

From your first request to your hundredth — guides, samples and tutorials wired together.

  • API Documentation
  • Quick Start Guides
  • SDK Examples
  • Integration Tutorials
  • Code Samples
  • Best Practices
Open the docs
Built for Scale

Reliable infrastructure, quietly invisible.

Foneloft API is designed to support applications ranging from startups to enterprise-scale deployments — without you ever thinking about it.

v1.4 · Enterprise grade
Operational · global
99.99%
Uptime
~ 4s
p50 latency
12
Edge regions
8M+
Calls / day
Platform advantages
High AvailabilityFast Response TimesScalable ProcessingSecure ArchitectureGlobal Accessibility
Latency · last 24hHealthy
p50 3.9s · p99 6.1sv1 · stable
Regions liveus-eastus-westeu-westap-southap-eastsa-east
Try the API
Industry Use Cases

Powering teams from startup to enterprise.

See where Foneloft API is already shipping in production.

Marketing PlatformsMarketing

Marketing Platforms

Generate campaign visuals and advertisements automatically.

E-Commerce PlatformsE-Commerce

E-Commerce Platforms

Create product imagery and promotional assets at scale.

SaaS ApplicationsSaaS

SaaS Applications

Add AI image generation as a feature within your product.

Content Creation ToolsContent

Content Creation Tools

Enable users to generate graphics, thumbnails, and creative content.

Creative AgenciesCreative

Creative Agencies

Automate design workflows and client asset production.

Enterprise SolutionsEnterprise

Enterprise Solutions

Power internal creative operations and visual asset generation.

Security & Compliance

Secure by design.

Foneloft follows modern security practices to help protect your data, your API keys, and the visual assets you generate.

Blue and purple API security gateway illustration

Your data, locked down.

Every key, every request, every asset — encrypted, audited, and isolated by design. Trust, but verifiably.

SOC 2SSO ReadyTLS 1.3AES-256
Security console
Healthy
  • Encrypted ConnectionsTLS 1.3 in transit, AES-256 at rest.
  • Secure AuthenticationBearer tokens with rotation & scoping.
  • Access ControlsPer-environment keys & role limits.
  • Usage MonitoringPer-key audit logs & realtime dashboards.
  • Infrastructure SecurityHardened multi-region deployment.
Last auditPassed
0 incidents
Trailing 90 days
VaultKeys protected
API Pricing

Flexible usage-based access.

Choose an API plan that fits your development and business requirements.

Developer

For testing and small projects.

  • Sandbox keys
  • Generous free tier
  • Community support
Usage based
Popular

Growth

For startups and growing applications.

  • Higher rate limits
  • Priority queue
  • Email support
Usage based

Business

For production workloads and commercial deployments.

  • Team workspaces
  • SLAs
  • Premium support
Usage based

Enterprise

For large-scale implementations needing dedicated support and custom solutions.

  • Custom limits
  • Dedicated manager
  • SOC 2 & SSO
Usage based
View Full PricingNo credit card · cancel anytime
API FAQ

Questions devs ask.

Quick answers to the most common API questions before you start shipping.

Foneloft developer supportHelp centerOnline

Got questions?

we've got answers.

tap a question →

  1. Create a Foneloft account and generate an API key from your developer dashboard. Scope keys per environment and rotate them at any time — no downtime, no drama.

Need integration help?

Our developer success team is happy to pair with you.

Talk to us
Build in your stack, ship to users

Start Building with the Foneloft API.

Integrate AI-powered image generation into your applications and create innovative visual experiences for your users.

  • REST · JSON
  • Free Developer plan
  • Production-ready