Relight an image
Relight an image using AI. This endpoint accepts a variety of parameters to customize the generated images.
Documentation Index
Fetch the complete documentation index at: https://dripart-changelog-0-18-2.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
授权
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
请求体
Base64 or URL of the image to do the relight
When enabled, changes the background based on prompt and/or reference image. Useful for product placement and portraits.
When enabled, makes the final image interpolate from the original using the light transfer strength slider.
Level of light transfer intensity. 0% keeps closest to original, 100% is maximum transfer.
0 <= x <= 100Maintains texture and small details of the original image. Good for product photography, texts, etc.
You can guide the generation process and influence the light transfer with a descriptive prompt. IMPORTANT: You can emphasize specific aspects of the light in your prompt by using a number in parentheses, ranging from 1 to 1.4, like "(dark scene:1.3)".
Style preset for the relight operation.
standard, darker_but_realistic, clean, smooth, brighter, contrasted_n_hdr, just_composition Base64 or URL of the lightmap for light transfer. Incompatible with 'transfer_light_from_reference_image'
Base64 or URL of the reference image for light transfer. Incompatible with 'transfer_light_from_lightmap'
Optional callback URL that will receive asynchronous notifications whenever the task changes status.
"https://www.example.com/webhook"
响应
OK - The relight process has started