# SnapEdit - AI Image Processing API > SnapAPI 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.snapapi.ai` ยท API version: 1.0.0 ## Docs - [Introduction & Quickstart](http://localhost:3000/en/docs): Getting started, authentication, and your first request. - [Changelog & Versioning](http://localhost:3000/en/docs/changelog): API changes, releases, and deprecations. - [Full reference (Markdown)](http://localhost:3000/llms-full.txt): The entire API reference inlined as one document. ## Detection - [Detect objects in image](http://localhost:3000/en/docs/detectObjects): 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](http://localhost:3000/en/docs/detectText): 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](http://localhost:3000/en/docs/detectWires): 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 - [Erase objects from image](http://localhost:3000/en/docs/removeObjects): 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](http://localhost:3000/en/docs/removeText): 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](http://localhost:3000/en/docs/removeLogo): Remove logos from an image. This API supports **automatic detection and removal**, or **manual removal within a selected region**. - [Erase wires/lines from image](http://localhost:3000/en/docs/removeWires): 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](http://localhost:3000/en/docs/removeBackground): Remove the background from an image. Returns a mask of the foreground object. ## Enhance & Restore - [Enhance and upscale image](http://localhost:3000/en/docs/enhancePro): Upscale and enhance image resolution using AI. Supports input images with maximum width and height <= 1500 px. - [Enhance art/cartoon image](http://localhost:3000/en/docs/enhanceArtPro): Upscale and enhance art, anime, or cartoon images. Supports input images with maximum width and height <= 1500 px. - [Restore old images (Normal)](http://localhost:3000/en/docs/restoreImage): Restore and enhance old images, remove the scratches. - [Restore old images (Pro)](http://localhost:3000/en/docs/restoreImagePro): 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)](http://localhost:3000/en/docs/colorizeImage): Colorize old images. - [Colorize old images (Pro)](http://localhost:3000/en/docs/colorizeImagePro): 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](http://localhost:3000/en/docs/lightRestore): 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. ## Generation - [Generate image with Z-Image](http://localhost:3000/en/docs/generateImageZImage): Text-to-image generation using Z-Image. - [Generate image with Qwen-Image](http://localhost:3000/en/docs/generateImageQwen): Text-to-image generation using Qwen-Image. - [Generate AI art from image](http://localhost:3000/en/docs/generateArtFromImage): 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](http://localhost:3000/en/docs/generateHeadshot): 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](http://localhost:3000/en/docs/generateSticker): 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](http://localhost:3000/en/docs/editImage): 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](http://localhost:3000/en/docs/editImageMulti): 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](http://localhost:3000/en/docs/retouchSkin): Apply natural skin retouching and enhancement to **all faces** in the image. - [Makeup transfer](http://localhost:3000/en/docs/transferMakeup): 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](http://localhost:3000/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](http://localhost:3000/en/docs/createTryOnTask): Create an asynchronous virtual try-on task. Upload a model (person) image and one or two clothing images to generate the try-on result. ## Utility - [Expand image (outpaint)](http://localhost:3000/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](http://localhost:3000/en/docs/poseSuggest): 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](http://localhost:3000/en/docs/healthCheck): Returns the health status of all SnapAPI services. No authentication required. ## Tasks - [Get task status](http://localhost:3000/en/docs/getTaskStatus): Retrieve the status and result of an async task. Poll this endpoint after creating a task. Auto-fails tasks with `CREATED` status older than 120 seconds. - [Cancel task](http://localhost:3000/en/docs/cancelTask): Cancel a pending async task. ## OpenAI SDK - [Generate image from text (OpenAI SDK)](http://localhost:3000/en/docs/openaiGenerate): Generate images from text prompts using the OpenAI SDK `client.images.generate()` method. - [Edit/process image (OpenAI SDK)](http://localhost:3000/en/docs/openaiEdit): Process images using the OpenAI SDK `client.images.edit()` method. The `model` parameter determines which AI processing is applied.