Image to Image
POST
/api/v1/nova/imagineGenerate image based on the provided image.
The provided image URL needs to follow the followings:
- Image prompts go at the front of a prompt.
- Prompts must have only one image URL and text to work.
- An image URL must be a direct link to an online image. If you don't know where to upload your image, you can use this tool to upload your image to our server, and copy the image URL.
- Your file should end in .png, .gif, .webp, .jpg, or .jpeg.
Please make sure the image is not huge, file size less than 1MB is recommended.
Request
Body Params application/json
prompt
string
required
The imagine prompt, you can also include an image URL or other valid parameters in it, same like you using Midjourney in Discord.
ref
string
optional
The reference metadata which will return as part of the webhook.
webhookOverride
string
optional
The webhook URL which the response will send to, the payload of this webhook is same as our Message endpoint.
Example
{
"prompt": "https://cdn.discordapp.com/attachments/123/123/123.png A little cat running on the grass"
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
success
boolean
required
The status of the request.
messageId
string
required
The messageId of the request, which will be used for querying the progress, sending subsequential actions later, etc.
createdAt
string
required
The timestamp of the job creation.
error
string
optional
The error message, if any
Example
{
"success": true,
"messageId": "d15c1541-229a-442b-9873-d3494dede12a",
"createdAt": "2023-08-01T14:03:01.817Z"
}
Last modified: a month ago