Model reference · open weights
openjourney is an open-weight image model from prompthero. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.
Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.
What it is
| Released by | prompthero |
|---|---|
| Type | Image models |
| Task | Text→image |
| Parameters (lead) | 123M |
| Runs with | diffusers |
| Released | 2022-11-08 |
| Popularity | 5k downloads / month |
| Licence | Open weights |
About
Include 'mdjrny-v4 style' in prompt. Here you'll find hundreds of Openjourney prompts
(Same parameters, just added "mdjrny-v4 style" at the beginning):
This model can be used just like any other Stable Diffusion model. For more information, please have a look at the Stable Diffusion.
You can also export the model to ONNX, MPS and/or FLAX/JAX.
from diffusers import StableDiffusionPipeline
import torch
model_id = "prompthero/openjourney"
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
pipe = pipe.to("cuda")
prompt = "retro serie of different cars with different colors and shapes, mdjrny-v4 style"
image = pipe(prompt).images[0]
image.save("./retro_cars.png")
From the published model card. Full card on the HuggingFace links in the sidebar.
Using it via the API
Once AxForge deploys openjourney for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (openjourney below is illustrative; you get the exact model name on deployment.)
$ curl -sS https://api.axforge.ai/v1/images/generations \
-H "Authorization: Bearer $AXFORGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"openjourney","prompt":"a red bicycle","size":"1024x1024"}'
Create an account — your API key is available in the console. 3M free tokens every 30 days with every new account.