Image Blending with Multiple Methods
Image Blending with Multiple Methods is a task that involves combining two or more images seamlessly to create a composite image using a variety of blending techniques. By leveraging multiple blending methods, such as alpha blending, gradient blending, or Laplacian pyramid blending, this task enables the merging of images while preserving the visual coherence and integrity of the final composition.
Apache-2.0
Image-to-Image
PyTorch
English
Endpoint
POSThttps://api.aiozai.network/api/v1/model/8fa4c763-d06b-4f7c-ad15-5cd6f8da49f9/task
X-API-KeyAIOZ_AI_API_KEY
Input Schema
| Field | Type | Description |
|---|---|---|
| bg_img | URLrequired | The background image where the object will be blended. This serves as the target canvas. |
| obj_img | URLrequired | The object image (or foreground) that will be inserted/blended into the background. |
| mask_img | URLrequired | A binary or soft mask indicating the region of the object image to be used during blending. Pixel values typically range from 0 (background) to 255 (object), or [0,1] for soft blending. |
| method | optionsrequired | The blending method to apply. Available options: [Poisson, Laplacian, Mixed Gradient] |
Output Schema
| Field | Type | Description |
|---|---|---|
| output | URL | URL to a generated output artifact. |
curl -X POST \ "https://api.aiozai.network/api/v1/model/8fa4c763-d06b-4f7c-ad15-5cd6f8da49f9/task" \ -H "x-api-key: $AIOZ_AI_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "bg_img": "https://s3.w3s.aioz.network/w3ai-platform-v2/uploads/documents/18156a91-d389-4986-99ce-7ffc46b221f9/2025/12/16/1765883334-RoBnw7to9BQX55VzuSZehF.jpeg?AWSAccessKeyId=FT7EO3IGQNMIILHXIDZRVTJHWE&Signature=pnqA1BlO1XD99wii%2BRr1lsx3oHI%3D&Expires=2396603334", "obj_img": "https://s3.w3s.aioz.network/w3ai-platform-v2/uploads/documents/18156a91-d389-4986-99ce-7ffc46b221f9/2025/12/16/1765883335-NyiMA9LGcVAGoRNJRXaLUt.jpeg?AWSAccessKeyId=FT7EO3IGQNMIILHXIDZRVTJHWE&Signature=QYw%2F%2FvPVs6J8k6evF5wN49NCiq8%3D&Expires=2396603335", "mask_img": "https://s3.w3s.aioz.network/w3ai-platform-v2/uploads/documents/18156a91-d389-4986-99ce-7ffc46b221f9/2025/12/16/1765883335-dBHvGdW9SP3NFtiBfnQqbj.jpeg?AWSAccessKeyId=FT7EO3IGQNMIILHXIDZRVTJHWE&Signature=IskSihPa612e7XfA1beZa7idfDk%3D&Expires=2396603335", "method": "Poisson" }'Response
{ "output": "https://s3.w3s.aioz.network/w3ai-platform/data/223b6cf1359c40488b45d2f875a3680c.png?AWSAccessKeyId=FR46RKQH5H6OUSSRC4TYELDGNM&Signature=8VfOfMFfQuEfHJf3xQLBUHJOuRA%3D&Expires=2765883440"}