# Snapedit - AI Image Processing API > Snapedit provides a comprehensive suite of AI-powered image processing endpoints including object removal, image enhancement, background removal, virtual try-on, image editing, and more. Base URL: `https://api.snapedit.app` ยท API version: 1.0.0 ## Docs - [Introduction & Quickstart](https://www.snapedit.app/en/docs): Getting started, authentication, and your first request. - [Changelog & Versioning](https://www.snapedit.app/en/docs/changelog): API changes, releases, and deprecations. - [Full reference (Markdown)](https://www.snapedit.app/llms-full.txt): The entire API reference inlined as one document. ## Detection - [Detect objects in image](https://www.snapedit.app/en/docs/detect-objects): Automatically detect removable objects in an image. Use the returned `session_id` and selected `detected_objects` item with the [Remove Objects API](#removeObjects). - [Detect text in image](https://www.snapedit.app/en/docs/detect-text): Detect text regions and return a mask. The returned `mask` can be used as `input_mask` in the [Remove Text API](#removeText), with optional manual modifications. - [Detect wires/lines in image](https://www.snapedit.app/en/docs/detect-wires): Detect wire, cable, and line regions and return a mask. The returned `mask` can be used as `input_mask` in the [Remove Wires API](#removeWires), with optional manual modifications. ## Removal - [Erase objects from image](https://www.snapedit.app/en/docs/remove-objects): Remove objects from an image using a manual mask, selected detected objects, or both. To erase detected objects, first call the [Detect Objects API](#detectObjects), then provide `original_session_id` plus `mask_objects`. - [Erase text from image](https://www.snapedit.app/en/docs/remove-text): Remove text from an image using a text mask. `input_mask` can come from the [Detect Text API](#detectText) and may be manually modified before removal. - [Erase logo from image](https://www.snapedit.app/en/docs/remove-logo): Remove logos from an image. This API supports **automatic detection and removal**, or **manual removal within a selected region**. - [Erase wires/lines from image](https://www.snapedit.app/en/docs/remove-wires): Remove wires, cables, and line objects from an image using a mask. `input_mask` can come from the [Detect Wires API](#detectWires) and may be manually modified before removal. - [Remove background from image](https://www.snapedit.app/en/docs/remove-background): Remove the background from an image. Returns a mask of the foreground object. ## Enhance & Restore - [Enhance and upscale image](https://www.snapedit.app/en/docs/enhance-pro): Upscale and enhance image resolution using AI. Supports input images with maximum width and height <= 1500 px. - [Enhance and upscale image (Pro)](https://www.snapedit.app/en/docs/enhance-image-pro): Upscale and enhance image resolution using the strongest Snapedit enhancement model, working especially well for **person images**. Supports input images with maximum width and height <= 1500 px. - [Enhance art/cartoon image](https://www.snapedit.app/en/docs/enhance-art-pro): Upscale and enhance art, anime, or cartoon images. Supports input images with maximum width and height <= 1500 px. - [Restore old images (Normal)](https://www.snapedit.app/en/docs/restore-image): Restore and enhance old images, remove the scratches. - [Restore old images (Pro)](https://www.snapedit.app/en/docs/restore-image-pro): Restore old or degraded images using Qwen-Image-Edit. This endpoint uses restore mode internally, so users do not need to provide a mode. - [Colorize old images (Normal)](https://www.snapedit.app/en/docs/colorize-image): Colorize old images. - [Colorize old images (Pro)](https://www.snapedit.app/en/docs/colorize-image-pro): Add color to black-and-white images using Qwen-Image-Edit. This endpoint uses colorize mode internally, so users do not need to provide a mode. - [Light restoration](https://www.snapedit.app/en/docs/light-restore): Fix lighting issues such as underexposure, overexposure, and backlighting using Qwen-Image-Edit. This endpoint uses light restoration mode internally, so users do not need to provide a mode. - [Fix lighting for backlit images](https://www.snapedit.app/en/docs/backlit-fix): Fix underexposed and backlit images using the Qwen image edit pipeline. - [Add flash lighting to night images](https://www.snapedit.app/en/docs/night-flash): Add realistic flash lighting to a dark or night image while preserving image details. ## Generation - [Generate image with Z-Image](https://www.snapedit.app/en/docs/generate-image-zimage): Text-to-image generation using Z-Image. - [Generate image with Qwen-Image](https://www.snapedit.app/en/docs/generate-image-qwen): Text-to-image generation using Qwen-Image. - [Generate AI art from image](https://www.snapedit.app/en/docs/generate-art-from-image): Transform a photo into AI-generated art using various styles. The style list and preview images are in this [link](https://storage.googleapis.com/assets.snapedit.app/fairyai/anime_styles_6mar25.json). - [Generate professional headshot from image](https://www.snapedit.app/en/docs/generate-headshot): Generate a professional headshot from a person image using Qwen-Image-Edit. An example for the prompt is "Professional headshot image of the reference subject in a studio". - [Generate cartoon or sticker from image](https://www.snapedit.app/en/docs/generate-sticker): Generate a cartoon or sticker-style image from an input image using Qwen-Image-Edit. An example for the prompt is "Turn the characters in the image into Apple iOS-style 3D avatars". ## Editing - [Edit image with AI prompt](https://www.snapedit.app/en/docs/edit-image): Edit an image using natural language prompts powered by the Qwen-Image-Edit model. Use `editing` for general image edits and `inpaint` when editing a selected masked region. - [Edit based on multiple input images with AI prompt](https://www.snapedit.app/en/docs/edit-image-multi): Edit based on multiple images (up to 3) using natural language prompts powered by the Qwen-Image-Edit model. Supports multiple editing modes:
ModeDescriptionExample
editingGeneral editing promptPut the man and the dog in a stadium
## Beauty & Style - [Skin retouching](https://www.snapedit.app/en/docs/retouch-skin): Apply natural skin retouching and enhancement to **all faces** in the image. - [Makeup transfer](https://www.snapedit.app/en/docs/transfer-makeup): Apply makeup styles to **all faces** in the image. The style list and preview images are in this [link](https://storage.googleapis.com/assets.snapedit.app/makeup/makeup_v1_1.json). - [Generate hairstyle transformation](https://www.snapedit.app/en/docs/hairstyle): Transform the hairstyle in a face photo with multiple reference hairstyles in this [link](https://storage.googleapis.com/assets.snapedit.app/hairstyle/hair_styles_v3.json). ## Virtual Try-On - [Create virtual try-on task](https://www.snapedit.app/en/docs/create-try-on-task): Create an asynchronous virtual try-on task. Upload a model (person) image and one or two clothing images to generate the try-on result. - [Get virtual try-on task status](https://www.snapedit.app/en/docs/get-try-on-task-status): Get the status and result URL for a virtual try-on task. - [Cancel virtual try-on task](https://www.snapedit.app/en/docs/cancel-try-on-task): Cancel a queued or processing virtual try-on task. ## Videos - [Create enhance-video upload URL](https://www.snapedit.app/en/docs/enhance-video-upload): Create a signed upload URL. Upload the file to `upload_url` with HTTP PUT before creating the task. - [Create enhance-video task](https://www.snapedit.app/en/docs/enhance-video-create-task): Create the processing task after uploading the source file. - [Get enhance-video task status](https://www.snapedit.app/en/docs/enhance-video-task-status): Get async task status. When complete, the response includes `download_url`. - [Create remove-logo video upload URL](https://www.snapedit.app/en/docs/remove-logo-video-upload): Create a signed upload URL. Upload the file to `upload_url` with HTTP PUT before creating the task. - [Create remove-logo video task](https://www.snapedit.app/en/docs/remove-logo-video-create-task): Create the processing task after uploading the source file. - [Get remove-logo video task status](https://www.snapedit.app/en/docs/remove-logo-video-task-status): Get async task status. When complete, the response includes `download_url`. ## Files - [Create remove-logo PDF upload URL](https://www.snapedit.app/en/docs/remove-logo-pdf-upload): Get a signed upload URL. Upload the file to `upload_url` with HTTP PUT before creating the task. - [Create remove-logo PDF task](https://www.snapedit.app/en/docs/remove-logo-pdf-create-task): Create the processing task after uploading the source file. - [Get remove-logo PDF task status](https://www.snapedit.app/en/docs/remove-logo-pdf-task-status): Get async task status. When complete, the response includes `download_url`. ## Utility - [Expand image (outpaint)](https://www.snapedit.app/en/docs/outpaint): Expand an image beyond its original boundaries. Requires both the source image and a mask indicating the expansion area. - [Get pose suggestions](https://www.snapedit.app/en/docs/pose-suggest): Generate AI pose suggestions for a reference scene image. The input image must have a maximum edge length of **512 pixels** to achieve the best output quality.. - [Health check](https://www.snapedit.app/en/docs/health-check): Returns the health status of all Snapedit services. No authentication required. ## Content Moderation - [Detect AI-generated image](https://www.snapedit.app/en/docs/ai-detect): Detect whether an image is likely AI-generated. ## OpenAI SDK - [Generate image from text (OpenAI SDK)](https://www.snapedit.app/en/docs/openai-generate): Generate images from text prompts using the OpenAI SDK `client.images.generate()` method. - [Edit/process image (OpenAI SDK)](https://www.snapedit.app/en/docs/openai-edit): Process images using the OpenAI SDK `client.images.edit()` method. The `model` parameter determines which AI processing is applied.