ImaginePro Archive
  1. API Documentation
ImaginePro Archive
  • Introduction
  • System Design
  • Get Started
  • My Account
    • Credits
    • Generation Modes
  • API Documentation
    • Generate Image
      POST
    • Get Progress
      GET
    • Upscale
      POST
    • Prompt Check
      POST
    • Variation
      POST
    • Zoom
      POST
    • Pan
      POST
    • Image to Text (describe)
      POST
    • Image to Image
      POST
    • Face Swap
      POST
    • Blend
      POST
    • Inpainting
      POST
    • Reroll
      POST
    • Make Square
      POST
    • Cancel Job
      POST
    • History
      GET
    • Get Ban Words List
      GET
    • Update Ban Words List
      POST
    • Generate Image Boost
      POST
    • Button Boost
      POST
    • Get Message Trace
      GET
  • DIY Plan Endpoints
    • Queue Management
      • Count jobs in queue
      • Reboot the queue
      • Pause the queue
      • Resume the queue
    • Get Linked Discord Token Details
      GET
    • Toggle Linked Discord Token
      PUT
  • Guide
    • FAQ
    • Troubleshoot
  • HowTos
    • How to get Discord token, server and channel ID
    • How to use ImaginePro web app
    • How to make ImaginePro API request in Postman
    • How to use Midjourney V6
    • How to link your own Discord account
    • How to debug the ImaginePro web app
  • Web App
    • Credits
  1. API Documentation

Image to Image

POST
/api/v1/midjourney/imagine
Generate 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

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Example
{
  "prompt": "https://cdn.discordapp.com/attachments/123/123/123.png A little cat running on the grass"
}

Request Code 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 '/api/v1/midjourney/imagine' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "prompt": "https://cdn.discordapp.com/attachments/123/123/123.png A little cat running on the grass"
}'

Responses

🟢200Success
application/json
Body

Example
{
    "success": true,
    "messageId": "d15c1541-229a-442b-9873-d3494dede12a",
    "createdAt": "2023-08-01T14:03:01.817Z"
}
Modified at 2024-11-22 02:12:32
Previous
Image to Text (describe)
Next
Face Swap
Built with