cURL
curl --request POST \ --url https://os.gan.ai/v1/photo_avatars/create \ --header 'Content-Type: application/json' \ --header 'ganos-api-key: <api-key>' \ --data ' { "base_image_url": "<string>", "title": "<string>", "webhook_data": { "webhook_url": "<string>" } } '
{ "photo_avatar_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "status": "draft", "title": "<string>", "base_image": "<string>", "created_at": "2023-11-07T05:31:56Z" }
Create a photo avatar from a base image URL.
Use the API key generated from our website to programmatically interact with our endpoints. This key authorizes your requests, allowing you to access and utilize our services securely.
Publicly accessible URL of the base face image.
This endpoint allows you to register a webhook, which can be used to get the generation state of the avatar.
Show child attributes
Successful Response
draft
failed
processing
published
deleted
Presigned URL of the processed base image.
ISO 8601 formatted timestamp.
ISO 8601