API
Integrate once, generate anywhere
Base URL https://switflow.pro · 50 credits per generation request.
Authentication
Create an API key in your profile after Google sign-in. Send it as a Bearer token.
Header
Authorization: Bearer sf_live_••••••••Endpoints
- POST
/v1/videoGenerate video from a text prompt via Veo 3 / Flow.
- POST
/v1/imageGenerate images with the shared credits wallet.
- GET
/v1/jobs/:idPoll job status and download results when ready.
- GET
/v1/creditsRead remaining credit balance for the API key.
Example: video
JSON body
{
"prompt": "Slow pan across neon alley rain",
"aspect_ratio": "16:9",
"duration_seconds": 5
}Example: image
JSON body
{
"prompt": "Product photo of ceramic mug, soft daylight",
"size": "1024x1024"
}