Getting Started with Global AI Store
This guide will walk you through the essential steps to start using Global AI Store's API services.
Note: You'll need to create an account and obtain an API key before making API calls.
Step 1: Sign up for an account
To get started, you'll need to sign up for a Global AI Store account. Once you've created an account, you can subscribe to one of our API plans to get API access.
Step 2: Get your API key
After subscribing to a plan, you can find your API key in the dashboard under API Management. Your API key is used to authenticate your requests to our API.
Warning: Your API key should be kept secure. Don't share it or expose it in public repositories or client-side code.
Step 3: Make your first API call
You can start using our API by making HTTP requests to our endpoints. Here's a simple example using cURL:
curl -X POST "https://api.globalaistore.com/v1/models/generate" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "Generate a description of a mountain landscape",
"model": "text-gen-v2"
}' Or using JavaScript (with fetch):
const response = await fetch('https://api.globalaistore.com/v1/models/generate', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
prompt: "Generate a description of a mountain landscape",
model: "text-gen-v2"
})
});
const data = await response.json();
console.log(data); Step 4: Explore the available models
Global AI Store offers a variety of AI models for different
tasks. You can explore the available models in the Products
section or through the API by calling the /v1/models endpoint.
Step 5: Integrate with your application
Once you're familiar with the API, you can integrate it with your application. We provide official client libraries for several programming languages to make this integration easier.
JavaScript
For web and Node.js applications
Python
For data science and backend applications
Ruby
For Rails and Ruby applications
Next Steps
Now that you've made your first API call, you can explore our API reference documentation to learn about all the available endpoints and options. Here are some suggested next steps:
- Read about authentication and security
- Explore the available AI models
- Learn about best practices for using our API
- Set up webhooks for asynchronous processing
Need Help?
If you encounter any issues or have questions, our support team is here to help. You can:
- • Check the FAQ for common questions
- • Visit our Community Forums
- • Contact Support for personalized assistance
API Reference
Explore our comprehensive API reference documentation with detailed information about all available endpoints, request parameters, and response formats.
Base URL
https://api.globalaistore.com/v1 Endpoints
/models Returns a list of available models.
/models/{model_id} Returns information about a specific model.
/models/generate Generates content using a specified AI model.
/models/classify Classifies content using a specified AI model.
/jobs/{job_id} Returns information about an asynchronous job.
/webhooks Creates a new webhook subscription.
This is just a summary of the available endpoints. For complete documentation, including all endpoints, parameters, and response formats, please visit the Full API Reference.
Additional Sections
The following sections are available in the documentation: