- Introduction
- System Design
- Get Started
- My Account
- API Documentation
- Generate ImagePOST
- Get ProgressGET
- UpscalePOST
- VariationPOST
- ZoomPOST
- PanPOST
- RerollPOST
- Make SquarePOST
- Cancel JobPOST
- InpaintingPOST
- Image to Text (describe)POST
- Image to ImagePOST
- Face SwapPOST
- BlendPOST
- HistoryGET
- Generate Image BoostPOST
- Button BoostPOST
- Prompt CheckPOST
- Account InfoGET
- Generate Image - Flux ModelPOST
- Remove BackgroundPOST
- FLUX API Documentation
- DIY Plan Endpoints
- Guide
- HowTos
- Web App
Generate Image
POST
https://api.imaginepro.ai/api/v1/nova/imagine
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Body Params application/json
prompt
string
required
ref
string | null
optional
webhookOverride
string | null
optional
Default:
YOUR_BACKEND_API_ENDPOINT
timeout
integer | null
optional
>= 10<= 900
Default:
900
Example
{
"prompt": "string",
"ref": "string",
"webhookOverride": "YOUR_BACKEND_API_ENDPOINT",
"timeout": 900
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.imaginepro.ai/api/v1/nova/imagine' \
--header 'Content-Type: application/json' \
--data-raw ''
Responses
🟢200Success
application/json
Body
success
boolean
required
messageId
string
required
createdAt
string
required
error
string
optional
Example
{
"success": true,
"messageId": "d15c1541-229a-442b-9873-d3494dede12a",
"createdAt": "2023-08-01T14:03:01.817Z"
}
Modified at 2024-11-24 04:37:15