Getting Started with GoAPI!
Introduction
Unlock the full potential of your websites and applications with GoAPI's all-in-one AI API solution, offering Midjourney API, GPTs API, Stable Diffusion API, and more. Experience the simplicity, cost-effectiveness, and seamless integration that our APIs provide, empowering your digital projects!
Getting started
Sign up for our Dashboard and get free
credits to try out our different generative AI APIs!
Our dashboard is where you can manage your credits, subscriptions, API Key, referrals, and more!
Making your first request
To make your first Midjourney API request, send an authenticated request to the following endpoint, and you will get a response shortly afterwards. Find a list of GoAPI's available domains here.
Example Request
import requests X-API-KEY = "YOUR_API_KEY" endpoint = "https://api.goapi.ai/mj/v2/imagine" headers = { "X-API-KEY": X-API-KEY } data = { "prompt": "a cute cat", "aspect_ratio": "4:3", "process_mode": "mixed", "webhook_endpoint": "", "webhook_secret": "" } response = requests.post(endpoint, headers=headers, json=data) print(response.status_code) print(response.json())
Example Response
{
"task_id": "807400b9-9d79-465b-8ecc-eecb7419dbbc",
"status": "success",
"message": ""
}
GoAPI Domains
Here are the available domains for all of our API endpoints. we recommend you to experiment with all of them below and choose one or more based on your program & location:
Type | Domain | Description |
---|---|---|
Primary Domain | api.goapi.ai | The most recommended domain for all api request |
Secondary Domain | api.goapi.xyz | The backup domain with all api endpoint available |
Secondary Domain | api.midjourneyapi.xyz | The backup domain with all api endpoint available |
Special Domain | proxy.goapi.xyz | Domain that is improved for long wait response. If you have long halt GPT request, use this domain |