Documentation

API Documentation

Everything you need to integrate JourneyAPI into your application. One API key, one consistent interface across all AI models.

Quick Start

1. Get your API key

Sign up at journeyapi.com and grab your API key from the dashboard.

2. Make your first request

curl -X POST https://api.journeyapi.com/api/v1/imagine \
  -H "Authorization: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt": "a sunset over mountains", "model": "flux-pro", "aspect_ratio": "16:9"}'

3. Get the result

Poll with /fetch or set up a webhook to receive results automatically.

Base URL

https://api.journeyapi.com/api/v1

All Endpoints

MethodEndpointDescriptionCredits
POST/imagineGenerate images from a text prompt.1-8
POST/rerollRe-run a generation with the same or tweaked prompt, producing an entirely new 2×2 grid.MJ4
POST/upscale-1xSelect one of the four grid images and upscale it to a full-resolution single image.MJ2
POST/upscale-altApply a second-pass enhancement to an already-upscaled Midjourney image.MJ4
POST/upscale-2x-4xMultiply an image's pixel dimensions by 2x or 4x using AI upscaling.MJ2
POST/variationsGenerate a new 2×2 grid of variations from an existing image.MJ4
POST/inpaintRegenerate a specific region of an upscaled Midjourney image while keeping the rest intact.MJ4
POST/outpaintExpand an upscaled Midjourney image outward, generating new content around the edges to create a wider scene.MJ4
POST/panExtend an upscaled Midjourney image in one direction (up, down, left, right), revealing new content on that edge while the original image shifts to the opposite side.MJ4
POST/blendMerge 2–5 images together using Midjourney's blend algorithm, which combines their visual concepts, styles, colors, and compositions into a new 2×2 grid.MJ4
POST/describeReverse-engineer Midjourney prompts from any image.MJ2
POST/shortenAnalyze a long Midjourney prompt and identify which tokens carry the most weight.MJ2
POST/seedRetrieve the numeric seed used for a completed Midjourney generation.MJ2
POST/faceswapReplace a face in a target image with a face from a source image.2
POST/imagine-videoGenerate a short animated video clip from a start frame image and a motion prompt.8
POST/extend-videoContinue a video generated by /imagine-video with additional frames, extending the clip's duration.8
POST/fetchGet the current status and result of a task.Free
POST/fetch-manyGet the status and results of multiple tasks in a single request.Free
GET/accountGet your account information including email, credit balance, usage stats, and current plan.Free

Next Steps