Skip to content

Picture variant ​

Photo variant API is used to generate a similar version based on existing images and is suitable for visual orientation exploration, trade chart options and style approximations.

API Path ​

MethodologyPathReturns by
POST/v1/images/variationssynchronous returns the image variant result.

Example request ​

bash
curl https://moonnexai.com/v1/images/variations \
  -H "Authorization: Bearer <MOONNEXAI_API_KEY>" \
  -F "image=@./product.png" \
  -F "model=gpt-image-2" \
  -F "n=2"

Common field ​

fieldAnnotations
imageEnter the picture file.
modelPicture model name, based on MoonNexAI console and API Reference.
nGenerates the quantity.
sizeOutput size, as API Reference.

Results-based processing ​

sceneTreatment
Multiple versions of candidatesSaves each result chart and original chart relationship.
User Double SelectionMarks the selected version as the business master map.
Continue editingImports the selected result into Picture Editor.

Access Recommendations ​

  • Use high-quality original maps as input to avoid compression footprints.
  • Saves input, generate parameters and output maps to facilitate user backtrace.
  • Use Picture Editor if you need to make a clear change of direction.

Relevant Pages ​