AI-driven image generation and editing tool for creating high-quality product images. Triggered when users ask to generate images, create product pictures, edit photos, text-to-image, image-to-image, replace backgrounds, transform styles, composite products into scenes, swap models, or create any type of AI-generated visual content. Even if the user does not explicitly say "AI image," this skill should be triggered whenever the request involves creating, modifying, or transforming images.
npx skills add https://github.com/nexscope-ai/nexscope-ecommerce-skills --skill ecommerce.multimodal-generate-image
This skill guides you on how to generate and edit images using the AI image generation service, helping users create high-quality product images, modify existing images, and perform creative visual transformations.
The AI Image Generation tool produces new images based on a text prompt and optional reference images. It supports a wide range of use cases:
Reference images are strongly recommended when the user wants the output to closely resemble an existing product or scene. Up to 3 reference image URLs can be provided, separated by commas.
| Parameter | Required | Description | Default |
|-----------|----------|-------------|---------|
| prompt | Yes | Text description of the desired image. Supports text-to-image, image-to-image, editing, model swapping, and more. Max 1000 characters. | -- |
| referenceImageUrl | No | URL(s) of reference image(s). Separate multiple URLs with commas. Up to 3 images supported. Max 1000 characters. | -- |
| aspectRatio | No | Aspect ratio of the output image. | 1:1 |
| Value | Description |
|-------|-------------|
| 1:1 | Square (default) |
| 3:4 | Portrait |
| 4:3 | Landscape |
| 9:16 | Vertical fullscreen |
| 16:9 | Horizontal fullscreen |
referenceImageUrl.Object replacement:
Replace the vase on the table in image 1 with a potted plant
Background color change:
Change the background color of image 1 to pure white
Product compositing:
Place the product from image 2 onto the marble countertop in image 1
Style transfer:
Transform image 1 into the artistic style shown in image 2
Text-to-image (no reference):
A professional product photo of a sleek black wireless headphone on a gradient blue background, studio lighting, 8K quality
Model swapping:
Replace the model in image 1 with a different model while keeping the same clothing and pose
POST /multimodal/generateImage (see references/api.md for full parameters, responses, and error codes)python scripts/multimodal_generate_image.py '<JSON parameters>'Output strategy (script default behavior):
Data reading tip: Use jq or ConvertFrom-Json to extract specific fields from the response as needed.
text field, display it directly to the user using markdown image syntax.status and finished fields. If image generation is still in progress, inform the user and advise waiting.status field and suggest adjustments (e.g., simplify the prompt, check reference image URLs, try a different aspect ratio).Applicable -- Requests involving image generation or editing:
| User Says | Scenario |
|-----------|----------|
| "Generate an image," "Create a picture" | Text-to-image generation |
| "Edit this photo," "Modify the image" | Image editing |
| "Change the background," "Make it white background" | Background replacement |
| "Put the product on this scene" | Product compositing |
| "Make it look like this style" | Style transfer |
| "Swap the model," "Change the person" | Model swapping |
| "Create a product photo" | Product image generation |
| "Make a vertical/landscape version" | Aspect ratio adjustment |
Not applicable -- Needs beyond image generation:
Set NEXSCOPE_API_KEY. Visit https://www.nexscope.ai/help/skills-external-access?co-from=skillNS to manage credits.
Take nexscope-ai/ecommerce.multimodal-generate-image from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.