Midjourney has no public API — every model below is an arena-ranked text-to-image model you can call programmatically today. The top alternative to Midjourney is GPT Image 2 API, rated 1338 Elo (#1 of 155) in the Image Arena, followed by Reve 2.1 (1305 Elo).
GPT Image 2 API is the highest-ranked text to image alternative, with 1338 Elo (#1 of 155) in the Image Arena from blind human-preference votes. The full ranking below lists 15 alternatives.
Yes — every model on this page runs as a hosted API endpoint, so you can generate programmatically without Midjourney's app. GPT Image 2 API is the top-ranked option.