4-Step Pipeline
Chain four API calls
Generate, edit, upscale, and remove backgrounds — chain four API calls into one automated workflow. Each step returns a URL you can pass to the next.
Build complete AI image editing pipelines with one API: text-to-image (FLUX-2 Klein), image-to-image editing (Qwen Image Edit, FLUX-2 Klein), upscaling, and background removal. Full pipeline from ~$0.01, powered by deAPI's decentralized GPUs at 20× lower cost.
Image editing
deAPI's image editing pipeline chains four open-source endpoints — text-to-image (FLUX-2 Klein, Z-Image), image-to-image (Qwen Image Edit, FLUX-2 Klein), upscaling (2×–4×), and background removal — behind one unified API. With decentralized GPU infrastructure, the complete generate-edit-upscale-rmbg workflow runs from ~$0.01 per image, up to 20× lower than SaaS image editing tools. Whether you're automating e-commerce catalogs, scaling marketing assets, or shipping in-app design tools, deAPI makes the full pipeline programmable. Check the full list.
Chain four API calls
Generate, edit, upscale, and remove backgrounds — chain four API calls into one automated workflow. Each step returns a URL you can pass to the next.
Two img2img models
Qwen Image Edit for precise text-instructed modifications, FLUX-2 Klein for creative transformations and multi-image compositing — two img2img models for any editing need.
~$0.01 per pipeline
Full editing pipeline from ~$0.01. Decentralized GPUs keep image editing affordable at any scale — pay only for the steps you call, no monthly SaaS subscription.
No vendor lock-in
No vendor lock-in. FLUX, Qwen, and dedicated upscale / rmbg models — swap anytime as better ones emerge. One key, one billing account, every modality of the pipeline.
Each step is a separate API call — compose them into any workflow
Create any image from a text description. Photorealistic photos, illustrations, product mockups, marketing visuals — describe it and the AI generates it. FLUX-2 Klein delivers high-quality results in seconds.
Single POST to /txt2img with your prompt, model, and dimensions. Receive a download URL with the generated image. Use prompt enhancement for optimized results automatically.
Fast, high-quality photorealistic images
from $0.00141/img
Alternative model for stylized images
from $0.00248/img
Optimize prompts for better image generation
Increase image resolution by 2× to 4× while preserving and enhancing details. AI upscaling adds realistic texture, sharpens edges, and removes artifacts — perfect for marketing assets and print.
POST to /img-upscale with the image URL and scale factor. Receive a high-resolution version of the image. Works with any image source.
AI-powered resolution enhancement with detail preservation
from $0.003/image
Modify existing images using AI. Two approaches: Qwen Image Edit for precise text-instructed edits, FLUX-2 Klein for creative transformations with style transfer and multi-image compositing.
POST to /img2img with input image(s) and text prompt. Qwen uses text instructions for targeted edits; FLUX-2 Klein supports up to 3 input images for style transfer and compositing.
Instruction-based editing, 256–1024px, up to 50 steps
from $0.002/edit
Style transfer, up to 1536px, multi-image compositing (3 inputs)
from $0.00659/edit
Instantly remove backgrounds from any image with pixel-perfect accuracy. Handles complex edges like hair, fur, and transparent objects. Output a clean PNG with transparent background, ready for compositing.
POST to /img-rmbg with image URL. No configuration needed — the model automatically detects and removes the background.
Pixel-perfect background removal with transparency
from $0.003/image
Generate product photos, remove backgrounds for catalogs, upscale images for high-resolution listings. Automate thousands of product images with consistent quality.
Create social media visuals, ad creatives, and marketing assets at scale. Edit existing images with AI, generate variations, and produce campaign-ready content without a design team.
Product photos, catalog backgrounds, listing images
In-app image editing, avatar generators, design tools
Editorial images, social media, blog illustrations
Watch how deAPI chains text-to-image, editing, upscaling, and background removal into a single pipeline. From prompt to production-ready image in seconds.
Chain four API calls and ship production-ready images — no SaaS subscription, no design team
Everything you need to know