Imagine

Generate four images from a text prompt. Available versions are 6.1 and 7

POST https://api.apiframe.ai/pro/imagine

Headers

Name
Value

Content-Type

application/json

Authorization*

Your APIFRAME API Key

Body

Name
Type
Description

prompt*

string

The text prompt for Midjourney AI

mode

string

Can be fast or turbo

webhook_url

string

Task updates will be posted at this URL

webhook_secret

string

Will be passed as x-webhook-secret in the webhook call headers for authentication.

Response

// Success
{
  "task_id": "29e983ca-7e86-4017-a9e3-ef6fe9cd5f2a"
}

This endpoint doesn't generate images instantly; You can use the Fetch endpoint to fetch the result or webhooks.

Last updated

Was this helpful?