curl -X POST https://api.artificialstudio.ai/api/run \
-H "Content-Type: application/json" \
-H "Authorization: YOUR_API_KEY" \
-d '{
"tool": "create-image",
"input": {
"model": "luma-photon-flash",
"prompt": "A dreamy watercolor landscape of rolling hills at dawn"
}
}'
{
"id": "507f1f77bcf86cd799439011",
"status": "processing",
"tool": "create-image",
"createdAt": "2024-01-15T10:30:00.000Z"
}
Creative and intelligent image generation by Luma. Fast and affordable.
curl -X POST https://api.artificialstudio.ai/api/run \
-H "Content-Type: application/json" \
-H "Authorization: YOUR_API_KEY" \
-d '{
"tool": "create-image",
"input": {
"model": "luma-photon-flash",
"prompt": "A dreamy watercolor landscape of rolling hills at dawn"
}
}'
{
"id": "507f1f77bcf86cd799439011",
"status": "processing",
"tool": "create-image",
"createdAt": "2024-01-15T10:30:00.000Z"
}
| Credits | 1 credit |
| Tool | create-image |
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string | Yes | Your API key |
Content-Type | string | Yes | application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
tool | string | Yes | create-image |
input.model | string | Yes | luma-photon-flash |
input.prompt | string | Yes | Text prompt for image generation |
input.aspect_ratio | string | No | Aspect ratio. One of 1:1, 4:3, 3:4, 16:9, 9:16, 21:9, 9:21. Defaults to 4:3. |
curl -X POST https://api.artificialstudio.ai/api/run \
-H "Content-Type: application/json" \
-H "Authorization: YOUR_API_KEY" \
-d '{
"tool": "create-image",
"input": {
"model": "luma-photon-flash",
"prompt": "A dreamy watercolor landscape of rolling hills at dawn"
}
}'
{
"id": "507f1f77bcf86cd799439011",
"status": "processing",
"tool": "create-image",
"createdAt": "2024-01-15T10:30:00.000Z"
}