{"openapi":"3.1.0","info":{"title":"Everpod Control Plane","version":"0.2.0"},"paths":{"/v1/images/generations":{"post":{"tags":["jobs"],"summary":"Create Image Job","operationId":"create_image_job_v1_images_generations_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageGenerationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/videos/generations":{"post":{"tags":["jobs"],"summary":"Create Video Job","description":"Video is always asynchronous (Spec §6): return the job id immediately.","operationId":"create_video_job_v1_videos_generations_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoGenerationRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/jobs/{job_id}":{"get":{"tags":["jobs"],"summary":"Get Job","operationId":"get_job_v1_jobs__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/jobs/{job_id}/cancel":{"post":{"tags":["jobs"],"summary":"Cancel Job","operationId":"cancel_job_v1_jobs__job_id__cancel_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CancelOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/keys":{"get":{"tags":["keys"],"summary":"List Keys","operationId":"list_keys_v1_keys_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/KeyOut"},"type":"array","title":"Response List Keys V1 Keys Get"}}}}}},"post":{"tags":["keys"],"summary":"Create Key","operationId":"create_key_v1_keys_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyCreateIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyCreatedOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/keys/{key_id}":{"delete":{"tags":["keys"],"summary":"Revoke Key","operationId":"revoke_key_v1_keys__key_id__delete","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/usage":{"get":{"tags":["usage"],"summary":"Usage","operationId":"usage_v1_usage_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":365,"minimum":1,"default":30,"title":"Days"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/models":{"get":{"tags":["models"],"summary":"List Models","operationId":"list_models_v1_models_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ModelOut"},"type":"array","title":"Response List Models V1 Models Get"}}}}}}},"/v1/enroll.sh":{"get":{"tags":["enroll"],"summary":"Enroll Script","description":"The public, secret-free bootstrap script (safe to curl | bash as root).","operationId":"enroll_script_v1_enroll_sh_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/v1/enroll/bundle":{"get":{"tags":["enroll"],"summary":"Enroll Bundle","description":"Redirect to a short-lived presigned URL for the node code bundle.\n\nAuthenticated with the node's own token, so only an enrolled node (or the\noperator holding its freshly issued credential) can pull the code.","operationId":"enroll_bundle_v1_enroll_bundle_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/admin/nodes":{"get":{"tags":["admin"],"summary":"Nodes","operationId":"nodes_v1_admin_nodes_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/NodeOut"},"type":"array","title":"Response Nodes V1 Admin Nodes Get"}}}}}},"post":{"tags":["admin"],"summary":"Create Node","description":"Register a node and issue its one-time enrollment command.\n\nThe token is per-node (not the legacy shared one) and is shown once; the\noperator pastes the command into the new box and it joins the fleet.","operationId":"create_node_v1_admin_nodes_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeCreateIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeCreatedOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/jobs":{"get":{"tags":["admin"],"summary":"Jobs","operationId":"jobs_v1_admin_jobs_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/usage":{"get":{"tags":["admin"],"summary":"Usage Summary","operationId":"usage_summary_v1_admin_usage_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageSummaryOut"}}}}}}},"/v1/admin/nodes/{node_id}/drain":{"post":{"tags":["admin"],"summary":"Drain Node","description":"Stop admitting new work; running jobs finish (Spec §7 drain).","operationId":"drain_node_v1_admin_nodes__node_id__drain_post","parameters":[{"name":"node_id","in":"path","required":true,"schema":{"type":"string","title":"Node Id"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Drain Node V1 Admin Nodes  Node Id  Drain Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/nodes/{node_id}/resume":{"post":{"tags":["admin"],"summary":"Resume Node","operationId":"resume_node_v1_admin_nodes__node_id__resume_post","parameters":[{"name":"node_id","in":"path","required":true,"schema":{"type":"string","title":"Node Id"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Resume Node V1 Admin Nodes  Node Id  Resume Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/nodes/{node_id}":{"delete":{"tags":["admin"],"summary":"Retire Node","description":"Retire a node: its token stops working and it leaves the fleet view.\n\nHistory (jobs, attempts, usage) is preserved — this is a soft retire.","operationId":"retire_node_v1_admin_nodes__node_id__delete","parameters":[{"name":"node_id","in":"path","required":true,"schema":{"type":"string","title":"Node Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/cloudrift":{"get":{"tags":["admin"],"summary":"Cloudrift State","operationId":"cloudrift_state_v1_admin_cloudrift_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RiftStateOut"}}}}}}},"/v1/admin/cloudrift/{instance_id}/stop":{"post":{"tags":["admin"],"summary":"Stop Instance","description":"Pause a rented box: billing stops, disk (docker image + weights) kept.\n\nThe linked node stays registered — it goes OFFLINE when heartbeats stop\nand comes back by itself after /start (the agent is a systemd unit).","operationId":"stop_instance_v1_admin_cloudrift__instance_id__stop_post","parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"string","title":"Instance Id"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Stop Instance V1 Admin Cloudrift  Instance Id  Stop Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/cloudrift/{instance_id}/start":{"post":{"tags":["admin"],"summary":"Start Instance","description":"Resume a paused box; expect ~3 min until the node is ONLINE again.","operationId":"start_instance_v1_admin_cloudrift__instance_id__start_post","parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"string","title":"Instance Id"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Start Instance V1 Admin Cloudrift  Instance Id  Start Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/cloudrift/{instance_id}/terminate":{"post":{"tags":["admin"],"summary":"Terminate Instance","description":"Power a rented box down. CloudRift has no stop — this DESTROYS the VM.\n\nAny node linked to it is retired in the same call so the fleet view does\nnot keep a ghost, and the scheduler stops considering its workers.","operationId":"terminate_instance_v1_admin_cloudrift__instance_id__terminate_post","parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"string","title":"Instance Id"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Terminate Instance V1 Admin Cloudrift  Instance Id  Terminate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/healthz":{"get":{"summary":"Healthz","description":"Liveness: the process is up. No dependencies checked (Spec §6).","operationId":"healthz_healthz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Healthz Healthz Get"}}}}}}},"/readyz":{"get":{"summary":"Readyz","description":"Readiness: database reachable. Gateway/S3 checks deepen in later steps.","operationId":"readyz_readyz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Readyz Readyz Get"}}}}}}}},"components":{"schemas":{"ArtifactOut":{"properties":{"url":{"type":"string","title":"Url"},"content_type":{"type":"string","title":"Content Type"},"bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Bytes"},"width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Width"},"height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Height"},"duration_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration Seconds"}},"type":"object","required":["url","content_type"],"title":"ArtifactOut"},"CancelOut":{"properties":{"job_id":{"type":"string","title":"Job Id"},"cancellation":{"type":"string","enum":["pending","accepted","unsupported","already_terminal"],"title":"Cancellation"},"status":{"$ref":"#/components/schemas/JobStatus"}},"type":"object","required":["job_id","cancellation","status"],"title":"CancelOut"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ImageGenerationRequest":{"properties":{"prompt":{"type":"string","maxLength":10000,"minLength":1,"title":"Prompt"},"model":{"type":"string","title":"Model","description":"Logical model name, e.g. 'z-image-turbo'"},"n":{"type":"integer","maximum":4.0,"minimum":1.0,"title":"N","default":1},"size":{"type":"string","title":"Size","default":"1024x1024"},"seed":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Seed"},"wait_seconds":{"type":"number","maximum":30.0,"minimum":0.0,"title":"Wait Seconds","default":0.0}},"additionalProperties":false,"type":"object","required":["prompt","model"],"title":"ImageGenerationRequest"},"JobOut":{"properties":{"job_id":{"type":"string","title":"Job Id"},"job_type":{"$ref":"#/components/schemas/JobType"},"status":{"$ref":"#/components/schemas/JobStatus"},"model":{"type":"string","title":"Model"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"terminal_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Terminal At"},"progress":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Progress"},"artifacts":{"items":{"$ref":"#/components/schemas/ArtifactOut"},"type":"array","title":"Artifacts"},"failure_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Failure Reason"}},"type":"object","required":["job_id","job_type","status","model","created_at","updated_at"],"title":"JobOut"},"JobRow":{"properties":{"job_id":{"type":"string","title":"Job Id"},"customer_id":{"type":"string","title":"Customer Id"},"status":{"type":"string","title":"Status"},"model_variant_id":{"type":"string","title":"Model Variant Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"terminal_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Terminal At"}},"type":"object","required":["job_id","customer_id","status","model_variant_id","created_at","terminal_at"],"title":"JobRow"},"JobStatus":{"type":"string","enum":["CREATED","QUEUED","LEASED","RUNNING","UPLOADING","SUCCEEDED","RETRYABLE_FAILED","PERMANENT_FAILED","CANCELLED","UNCERTAIN"],"title":"JobStatus"},"JobType":{"type":"string","enum":["IMAGE","VIDEO","LLM"],"title":"JobType"},"KeyCreateIn":{"properties":{"name":{"type":"string","maxLength":128,"title":"Name","default":"default"}},"type":"object","title":"KeyCreateIn"},"KeyCreatedOut":{"properties":{"key_id":{"type":"string","title":"Key Id"},"name":{"type":"string","title":"Name"},"key_prefix":{"type":"string","title":"Key Prefix"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"},"api_key":{"type":"string","title":"Api Key"}},"type":"object","required":["key_id","name","key_prefix","created_at","revoked_at","last_used_at","api_key"],"title":"KeyCreatedOut"},"KeyOut":{"properties":{"key_id":{"type":"string","title":"Key Id"},"name":{"type":"string","title":"Name"},"key_prefix":{"type":"string","title":"Key Prefix"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"}},"type":"object","required":["key_id","name","key_prefix","created_at","revoked_at","last_used_at"],"title":"KeyOut"},"ModelOut":{"properties":{"model":{"type":"string","title":"Model"},"model_variant_id":{"type":"string","title":"Model Variant Id"},"job_type":{"type":"string","title":"Job Type"},"quantization":{"type":"string","title":"Quantization"},"active":{"type":"boolean","title":"Active"},"ready_workers":{"type":"integer","title":"Ready Workers"},"available":{"type":"boolean","title":"Available"}},"type":"object","required":["model","model_variant_id","job_type","quantization","active","ready_workers","available"],"title":"ModelOut"},"NodeCreateIn":{"properties":{"label":{"type":"string","maxLength":128,"title":"Label"},"provider":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Provider","default":"cloudrift"},"provider_instance_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Provider Instance Id"}},"type":"object","required":["label"],"title":"NodeCreateIn"},"NodeCreatedOut":{"properties":{"node_id":{"type":"string","title":"Node Id"},"label":{"type":"string","title":"Label"},"node_token":{"type":"string","title":"Node Token"},"enroll_command":{"type":"string","title":"Enroll Command"}},"type":"object","required":["node_id","label","node_token","enroll_command"],"title":"NodeCreatedOut"},"NodeOut":{"properties":{"node_id":{"type":"string","title":"Node Id"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"status":{"type":"string","title":"Status"},"safety_state":{"type":"string","title":"Safety State"},"agent_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Version"},"heartbeat_age_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Heartbeat Age Seconds"},"reliability_score":{"type":"number","title":"Reliability Score"},"provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider"},"provider_instance_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Instance Id"},"workers":{"items":{"$ref":"#/components/schemas/WorkerOut"},"type":"array","title":"Workers"}},"type":"object","required":["node_id","label","status","safety_state","agent_version","heartbeat_age_seconds","reliability_score","provider","provider_instance_id","workers"],"title":"NodeOut"},"QueueOut":{"properties":{"counts":{"additionalProperties":{"type":"integer"},"type":"object","title":"Counts"},"recent":{"items":{"$ref":"#/components/schemas/JobRow"},"type":"array","title":"Recent"}},"type":"object","required":["counts","recent"],"title":"QueueOut"},"RiftInstanceOut":{"properties":{"instance_id":{"type":"string","title":"Instance Id"},"name":{"type":"string","title":"Name"},"status":{"type":"string","title":"Status"},"host_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Host Address"},"gpu_count":{"type":"integer","title":"Gpu Count"},"gpu_model":{"type":"string","title":"Gpu Model"},"linked_node_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Linked Node Id"}},"type":"object","required":["instance_id","name","status","host_address","gpu_count","gpu_model","linked_node_id"],"title":"RiftInstanceOut"},"RiftStateOut":{"properties":{"configured":{"type":"boolean","title":"Configured"},"balance_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Balance Usd"},"instances":{"items":{"$ref":"#/components/schemas/RiftInstanceOut"},"type":"array","title":"Instances"}},"type":"object","required":["configured","balance_usd","instances"],"title":"RiftStateOut"},"UsageByModel":{"properties":{"model_variant_id":{"type":"string","title":"Model Variant Id"},"jobs":{"type":"integer","title":"Jobs"},"gpu_seconds":{"type":"number","title":"Gpu Seconds"}},"type":"object","required":["model_variant_id","jobs","gpu_seconds"],"title":"UsageByModel"},"UsageDay":{"properties":{"date":{"type":"string","title":"Date"},"jobs":{"type":"integer","title":"Jobs"},"gpu_seconds":{"type":"number","title":"Gpu Seconds"}},"type":"object","required":["date","jobs","gpu_seconds"],"title":"UsageDay"},"UsageOut":{"properties":{"window_days":{"type":"integer","title":"Window Days"},"total_jobs":{"type":"integer","title":"Total Jobs"},"total_gpu_seconds":{"type":"number","title":"Total Gpu Seconds"},"by_day":{"items":{"$ref":"#/components/schemas/UsageDay"},"type":"array","title":"By Day"},"by_model":{"items":{"$ref":"#/components/schemas/UsageByModel"},"type":"array","title":"By Model"},"recent":{"items":{"$ref":"#/components/schemas/UsageRow"},"type":"array","title":"Recent"}},"type":"object","required":["window_days","total_jobs","total_gpu_seconds","by_day","by_model","recent"],"title":"UsageOut"},"UsageRow":{"properties":{"job_id":{"type":"string","title":"Job Id"},"model_variant_id":{"type":"string","title":"Model Variant Id"},"gpu_seconds":{"type":"number","title":"Gpu Seconds"},"workload_class":{"type":"string","title":"Workload Class"},"artifact_bytes":{"type":"integer","title":"Artifact Bytes"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["job_id","model_variant_id","gpu_seconds","workload_class","artifact_bytes","created_at"],"title":"UsageRow","description":"One metered execution — what actually ran, and what it cost in GPU time."},"UsageSummaryOut":{"properties":{"total_jobs":{"type":"integer","title":"Total Jobs"},"total_gpu_seconds":{"type":"number","title":"Total Gpu Seconds"},"by_customer":{"additionalProperties":{"type":"number"},"type":"object","title":"By Customer"}},"type":"object","required":["total_jobs","total_gpu_seconds","by_customer"],"title":"UsageSummaryOut"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VideoGenerationRequest":{"properties":{"prompt":{"type":"string","maxLength":10000,"minLength":1,"title":"Prompt"},"model":{"type":"string","title":"Model"},"duration_seconds":{"type":"number","maximum":15.0,"exclusiveMinimum":0.0,"title":"Duration Seconds","default":5.0},"resolution":{"type":"string","enum":["480p","720p","1080p"],"title":"Resolution","default":"720p"},"seed":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Seed"}},"additionalProperties":false,"type":"object","required":["prompt","model"],"title":"VideoGenerationRequest"},"WorkerOut":{"properties":{"worker_id":{"type":"string","title":"Worker Id"},"gpu_model":{"type":"string","title":"Gpu Model"},"vram_gb":{"type":"number","title":"Vram Gb"},"state":{"type":"string","title":"State"},"assigned_class":{"type":"string","title":"Assigned Class"},"current_attempt_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Attempt Id"}},"type":"object","required":["worker_id","gpu_model","vram_gb","state","assigned_class","current_attempt_id"],"title":"WorkerOut"}}}}