Retexture
Image Generation
Retexture
Transform image materials and textures
POST
Retexture
Documentation Index
Fetch the complete documentation index at: https://docs.legnext.ai/llms.txt
Use this file to discover all available pages before exploring further.
Headers
| Header | Type | Required | Description |
|---|---|---|---|
x-api-key | string | Yes | Your API key |
Request Body
| Parameter | Type | Required | Description |
|---|---|---|---|
imgUrl | string | Yes | URL of the source image (max length: 1024 characters) |
remixPrompt | string | Yes | Text description of desired texture/material transformation |
callback | string | No | Callback URL for task completion notifications |
Example Requests
Material Transformation
Response
Returns a task object containing the task information.This is the initial success response. Use the
job_id to check the task status via the Get Task endpoint to retrieve the completed result with image URLs.Supported Formats
- Image URL: HTTPS URLs pointing to image files (max length: 1024 characters)
- Supported Types: JPG, PNG, WebP
- Max File Size: 10MB
Authorizations
API key for authentication
Body
application/json
Response
Retexture task created successfully