Skip to main content

GPU Studio API Overview

WAYSCloud GPU Studio provides GPU-accelerated cloud platform for AI-powered content generation including video generation, text-to-speech, audio transcription, and image generation.

What is GPU Studio?

GPU Studio is a managed GPU computing platform that allows you to generate AI-powered content without managing infrastructure. Submit jobs via API and receive webhook notifications when processing is complete.

Use Cases

Video Generation

  • Text-to-video: Generate videos from text prompts
  • Image-to-video: Animate static images
  • Marketing and social media content
  • Educational videos

Text-to-Speech

  • Multi-language voice synthesis
  • Audiobook production
  • Voice-overs for videos
  • Interactive voice response systems

Audio Transcription

  • Meeting and podcast transcription
  • Video subtitles generation
  • Multi-language transcription

Image Generation

  • Product visualization
  • Marketing materials
  • Concept art
  • Social media graphics

Base URL

https://api.wayscloud.services/v1/gpu

All GPU Studio API endpoints are prefixed with /v1/gpu.

Authentication

All requests require a valid API key in the Authorization header:

Authorization: Bearer wayscloud_gpu_prod_YOUR_API_KEY

See Authentication for detailed information about API keys.

Obtaining an API Key

  1. Log in to WAYSCloud Console at https://my.wayscloud.services
  2. Navigate to API Keys section
  3. Click Create New Key
  4. Select GPU Studio as the service
  5. Copy your API key (starts with wayscloud_gpu_prod_)
  6. Store the key securely
Security

Never commit API keys to version control. Rotate keys every 90 days and use different keys for development and production.

Job-Based Architecture

GPU Studio uses an asynchronous job-based architecture:

  1. Submit Job - Create a job with your request
  2. Receive Job ID - Get immediate response with job ID and status URL
  3. Processing - Job is queued and processed on GPU infrastructure
  4. Webhook Notification - Receive webhook when job completes (optional)
  5. Retrieve Results - Download generated content via provided URLs

Why Asynchronous?

GPU tasks can take from seconds to minutes depending on complexity:

TaskTypical Duration
Video generation30 seconds to 5 minutes
Text-to-speech1-10 seconds
Audio transcription10-60 seconds
Image generation5-30 seconds

Asynchronous processing allows you to submit multiple jobs and handle results as they complete.

Quick Start

Creating Your First Job

curl -X POST https://api.wayscloud.services/v1/gpu/jobs \
-H "Authorization: Bearer wayscloud_gpu_prod_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"job_type": "video_generation",
"parameters": {
"prompt": "A serene mountain landscape at sunset with birds flying",
"duration_seconds": 5,
"quality": "medium",
"aspect_ratio": "16:9"
},
"webhook_url": "https://your-app.com/webhooks/gpu-studio"
}'

Response:

{
"job_id": "job_abc123def456",
"status": "queued",
"job_type": "video_generation",
"created_at": "2025-11-03T18:00:00Z",
"estimated_completion": "2025-11-03T18:02:30Z",
"status_url": "https://api.wayscloud.services/v1/gpu/jobs/job_abc123def456"
}

Checking Job Status

curl https://api.wayscloud.services/v1/gpu/jobs/job_abc123def456 \
-H "Authorization: Bearer wayscloud_gpu_prod_YOUR_API_KEY"

Response (Completed):

{
"job_id": "job_abc123def456",
"status": "completed",
"job_type": "video_generation",
"progress_percentage": 100,
"completed_at": "2025-11-03T18:02:28Z",
"processing_time_seconds": 148,
"result": {
"video_url": "https://storage.wayscloud.services/results/job_abc123def456/output.mp4",
"thumbnail_url": "https://storage.wayscloud.services/results/job_abc123def456/thumb.jpg",
"duration_seconds": 5,
"resolution": "1920x1080",
"file_size_bytes": 2458624
},
"cost": {
"amount": 12.50,
"currency": "NOK"
}
}

Job Statuses

Jobs progress through the following statuses:

StatusDescription
queuedJob accepted and waiting in queue
processingJob is being processed on GPU
completedJob finished successfully
failedJob failed (see error message)
cancelledJob was cancelled by user

Webhook Notifications

Receive automatic notifications when jobs complete:

{
"job_type": "video_generation",
"parameters": {
"prompt": "Mountain landscape",
"webhook_url": "https://your-app.com/webhooks/gpu"
}
}

Webhook Payload:

{
"event": "job.completed",
"job_id": "job_abc123",
"status": "completed",
"result": {
"video_url": "https://storage.wayscloud.services/results/output.mp4"
},
"timestamp": "2025-11-03T18:02:28Z"
}

Webhook verification details are covered in the implementation guide.

Rate Limits

ResourceLimit
API Requests100 per minute
Concurrent Jobs10 per API key
Job Status Checks1000 per minute

See Rate Limits for handling strategies.

Pricing

Pricing varies by job type and GPU tier:

Video Generation

  • Basic (L4 GPU): 2.50 NOK per second
  • Pro (L40S GPU): 5.00 NOK per second

Text-to-Speech

  • 0.10 NOK per second of audio

Audio Transcription

  • 0.05 NOK per minute of audio

Image Generation

  • 1.00 NOK per image
info

Storage of results is free for 7 days. After that, standard storage rates apply (0.50 NOK/GB/month).

Content Moderation

All generated content is subject to content moderation:

  • ❌ Prohibited: Violence, explicit content, hate speech
  • ❌ Prohibited: Illegal activities, harmful content
  • ✅ Allowed: Marketing, education, entertainment

Jobs violating content policy will be rejected with content_moderation_failed error.

Next Steps

Support

Need help with GPU Studio?