Fully managed AI photo pipeline for developers
One API. All the primitives your application needs, from file handling and credit metering to AI image generation and background removal.
- Prompt presetsDefine and reuse prompt configurations for consistent AI edits across your app. Ship repeatable, branded editing experiences without reinventing the prompt every time.
- File handlingUpload, store, and retrieve images through a single unified interface. No need to wire up separate storage — PhotoEditAPI manages the full file lifecycle.
- Credit meteringBuilt-in usage tracking and credit metering so you can monetize your app or enforce limits per user. Consumption data is available in real time via the API.
- Background removalCleanly cut out subjects with pixel-accurate precision, including hair and complex edges. Works reliably across product, portrait, and lifestyle photography.
- Image generation & editingGenerate new images or edit existing ones with AI. Power use cases like e-commerce photos, on-model shots, and product staging, all through a single consistent API surface.
- Video generationComing soon. Extend your editing pipeline to video: animate stills, generate short clips, and apply AI effects to footage at scale.
Ship production-grade AI tools in hours
Pass a preset, an aspect ratio, and your input image — PhotoEditAPI handles the rest.
POST /v1/generate/imagecurl
curl --request POST \
--url https://api.photoeditapi.com/v1/generate/image \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_TENANT_TOKEN' \
--header 'X-End-User-Id: YOUR_END_USER_ID' \
--data '{
"preset_id": "ecommerce",
"aspect_ratio": "4:5",
"input_images": [
"https://placehold.net/book-400x400.png"
]
}'Ready to build your photo editing app?
Talk to us about your use case or dive straight into the documentation to get started.