Legnext icon

Legnext

Interact with the Legnext API

Image → Blend

AI-generated

Summary

Blend image URLs into a single image with configurable aspect ratio.

Inputs

  • imgUrls (required) — Array of 2-5 image URLs to blend (one per line)
  • aspect_ratio (required) — Aspect ratio for the blended image (options: 2:3, 1:1, 3:2)
  • callback — Optional webhook URL to receive the result when the blend task is completed
  • requestOptions — HTTP request configuration such as batching, SSL settings, proxy, and timeout

Output shape

A JSON object containing the blended image URL or job status

Response may include additional metadata; errors follow the API's standard error envelope.

Examples

Example 1: Blend two images into a 1:1 image

imgUrls: https://example.com/a.png\nhttps://example.com/b.png; aspect_ratio: "1:1"; requestOptions default; no callback

Example 2: Blend three images and receive completion webhook

imgUrls: three URLs separated by newline; aspect_ratio: "2:3"; set callback URL; optional requestOptions for batching

Example 3: Blend images with custom proxy and timeout

Provide imgUrls; set aspect_ratio; configure requestOptions with custom proxy and timeout values

Discussion