TutorialMay 8, 20263 min read
Getting Started with the AgenticVexa API in 60 Seconds
A quick guide to making your first API call — from signup to generating an image in under a minute.
P
Pawan Kumar
Lead Developer
This guide walks you through making your first AgenticVexa API call. By the end, you'll have generated an AI image in under 60 seconds.
Step 1: Create an Account
Sign up at dev.agenticvexa.ai. You'll automatically get a free plan with 500 credits/month.
Step 2: Get Your API Key
Navigate to API Keys and click "Create Key". Copy your key — it starts with avx_ and is only shown once.
Step 3: Make Your First Call
import agenticvexa
client = agenticvexa.Client(api_key="avx_your_key")
# Generate an image
image = client.image.generate(
prompt="A serene mountain lake at sunrise",
size="1024x1024"
)
print(image.url) # Your generated image URL
print(f"Credits used: {image.credits_charged}")
Step 4: Try Other Services
# Text generation with streaming
for chunk in client.text.generate(
prompt="Explain quantum computing",
stream=True
):
print(chunk.text, end="")
# Voice synthesis
audio = client.voice.synthesize(
text="Hello from AgenticVexa!",
voice="aria"
)
audio.save("greeting.mp3")
What's Next?
Check out the full API documentation for all endpoints, or try the Playground to experiment with all six services interactively.
#tutorial#api#quickstart