AI Photography generates stylized artificial intelligence photoshoot images from prompt-defined style scenes.
https://www.ailabapi.com/api/image/effects/ai-photographyPOSTmultipart/form-data| Field | Value |
|---|---|
| API Name | AI Photography |
| API URL | /api/image/effects/ai-photography |
| Documentation URL | /docs/ai-image/effects/ai-photography |
| Unique identification | image_photography |
JPEG JPG PNG WEBP| Field | Required | Type | Description |
|---|---|---|---|
ailabapi-api-key | YES | string | Application API KEY. Get API KEY |
| Field | Required | Type | Scope | Default | Description |
|---|---|---|---|---|---|
image | YES | file | Original image. | ||
style_title | YES | string | Style name (English only). Max 500 characters; extra text will be automatically truncated. Use standard vocabulary. | ||
style_desc | YES | string | Style description (English only). Max 1000 characters; extra text will be automatically truncated. Use standard vocabulary. | ||
image_size | NO | string | auto, 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9 | auto | Output image aspect ratio. |
| Field | Type | Scope | Description |
|---|---|---|---|
task_type | string | async | Task Type. “async: Asynchronous tasks. |
task_id | string | Asynchronous task ID. Please use this field when calling the Querying Async Task Results API. |
API Key for authentication
Original image.
JPEG JPG PNG WEBPStyle name (English only). Max 500 characters; extra text will be automatically truncated. Use standard vocabulary to pass review.
500Style description (English only). Max 1000 characters; extra text will be automatically truncated. Use standard vocabulary to pass review.
1000Output Image Aspect Ratio.
auto, 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9 Success
The response is of type object.