Split a picture into layers
split_layersSeparate a finished picture into editable layers (text, people, objects, background) as transparent PNGs. OAuth uses site credits (from 42 credits per image with the default model). API keys use a separate USD wallet. Omit approval to get a quote, then confirm max_credits for OAuth or currency USD and decimal max_usd for API keys.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | No | ChatGPT only: the picture the user attached. Use image_url everywhere else. | |
| model | No | Optional model that can split layers (list_models with category image shows them). Leave empty for the default, Seedream 5.0 Pro. | |
| prompt | No | Optional: name the parts to separate, for example the title text, the person, the background. Leave empty to let PopNow decide. | |
| max_usd | No | API key only: maximum approved USD as a decimal string with up to 9 fractional digits. Set currency to USD. Only set after the user confirms the quoted cost_usd. Never convert max_credits. | |
| currency | No | Billing unit: USD for API keys; credits for OAuth (optional for existing OAuth clients). | |
| image_url | No | The finished picture to split into layers (https or popnow:// link). | |
| max_credits | No | OAuth only: the most site credits the user agreed to spend on this. Only set it after the user confirmed a quoted price. |