AI Background Generator API
nexscope_ai_background_generatorCreate product or lifestyle scene images from text prompts and optional reference images.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>"
},
"name": "nexscope_ai_background_generator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Output aspect ratio. Supported values: 1:1, 16:9, 9:16. Defaults to 1:1. | |
| style | No | Style preset. Supported values: scene-material, portrait-material, ancient-chinese, expressive-sketch, cyberpunk, pixel-illustration, tranquil-ink, anime-line-art, makoto-shinkai, hayao-miyazaki, cg, monochrome-illustration, retro-anime, chibi-character, realistic-oil-painting, c4d-paper-cut, expressive-watercolor, fresh-anime. | |
| prompt | Yes | Text prompt describing the desired scene. | |
| imageUrl | No | Optional reference image URL. | |
| outputNum | No | Number of images to generate, from 1 to 4. Defaults to 4. |