Infomaniak Aitools icon

Infomaniak Aitools

Interact with Infomaniak Aitools API

Usage > V1 > Images → Customizing Realistic Human Photos

AI-generated

Summary

Generate customized realistic human photos via the Infomaniak AI Tools API

Inputs

  • authentication (required) — Choose OAuth2 or API Key for authentication
  • product_id (required) — AI Tools product identifier (number)
  • images (required) — Upload images of the individual to customize (JSON, at least one image)
  • prompt (required) — Text description to stylize the image, must include trigger word (e.g., 'man img')
  • bodyParameters — Optional parameters: guidanceScale, n (number of images), negativePrompt, quality, responseFormat, size, style, styleStrengthRatio, sync

Output shape

Array of objects containing generated images (base64 or URL) or full API response

If returnFullResponse is false, returns extracted data; otherwise returns full response wrapped in array

Examples

Example 1: Generate 2 photorealistic images of a person

Set product_id=123, images=[{base64:'...'}], prompt='person img', n=2, style='photographic', size='1024x1024'

Links

Discussion