{ "openapi": "3.0.3", "info": { "title": "ZeroGPU lineup catalog", "version": "2026-11-21", "description": "Curated Hugging Face ZeroGPU Spaces, one per agent task (image, video, 3D, music, speech, documents). Simplest path: download zgpu.py (getClient) and run `python3 zgpu.py run key=value`; it uploads files, handles the two-step stream, coerces types and saves outputs. Or `python3 zgpu.py serve` for one synchronous local OpenAPI operation per task. listTasks returns every task with its typed inputs. Your HF token goes only to the upstream Space (your own ZeroGPU quota); nothing passes through this catalog." }, "servers": [ { "url": "/" } ], "paths": { "/tasks.json": { "get": { "operationId": "listTasks", "summary": "List every task with typed inputs, defaults, outputs and lanes", "responses": { "200": { "description": "The task registry", "content": { "application/json": { "schema": { "type": "object" } } } } } } }, "/zgpu.py": { "get": { "operationId": "getClient", "summary": "Download the single-file Python client (stdlib only)", "responses": { "200": { "description": "Python source", "content": { "text/x-python": { "schema": { "type": "string" } } } } } } }, "/catalog.json": { "get": { "operationId": "listTools", "summary": "List all curated ZeroGPU tools", "responses": { "200": { "description": "The catalog", "content": { "application/json": { "schema": { "type": "object" } } } } } } }, "/tools/{operation_id}.openapi.json": { "get": { "operationId": "getToolSpec", "summary": "Get the callable OpenAPI document for one tool", "parameters": [ { "name": "operation_id", "in": "path", "required": true, "schema": { "type": "string", "enum": [ "image_gen_fast_drafts", "image_gen_fast_drafts_commercial", "image_gen_flagship_quality", "image_gen_flagship_quality_commercial", "image_gen_typography_and_design", "image_gen_reference_and_identity", "image_gen_reference_and_identity_commercial", "image_gen_styles_and_anime", "image_gen_transparent_assets", "image_gen_transparent_assets_commercial", "image_gen_vector_graphics_svg", "image_gen_panoramas_and_storyboards", "image_gen_pixel_art_and_sprites", "image_edit_instruction_edits", "image_edit_instruction_edits_commercial", "image_edit_multi_image_composition", "image_edit_multi_image_composition_commercial", "image_edit_camera_and_viewpoint", "image_edit_relighting", "image_edit_relighting_commercial", "image_edit_outpainting", "image_edit_outpainting_commercial", "image_edit_object_removal_and_inpainting", "image_edit_object_removal_and_inpainting_commercial", "image_edit_text_in_images", "image_edit_face_and_head_swap", "image_edit_virtual_try_on", "image_edit_layers", "image_edit_pose_transfer", "image_utils_background_removal", "image_utils_upscaling", "image_utils_photo_restoration", "image_utils_face_restoration", "image_utils_face_restoration_commercial", "image_utils_depth_normals_and_geometry", "image_utils_text_prompted_segmentation", "image_utils_text_prompted_segmentation_commercial", "image_utils_detection_grounding_and_counting", "image_utils_captions_and_prompt_extraction", "image_utils_pose_and_keypoints", "video_text_to_video_with_audio", "video_text_to_video_with_audio_commercial", "video_image_to_video", "video_image_to_video_commercial", "video_first_last_frame_and_interpolation", "video_first_last_frame_and_interpolation_commercial", "video_camera_moves_and_orbits", "video_talking_heads_and_lip_sync", "video_talking_heads_and_lip_sync_commercial", "video_character_animation_and_swap", "video_instruction_video_editing", "video_mattes_and_backgrounds", "video_mattes_and_backgrounds_commercial", "video_upscaling_and_finishing", "video_video_depth", "three_d_image_to_textured_mesh", "three_d_text_to_3d", "three_d_multi_view_to_3d", "three_d_gaussian_splats", "three_d_auto_rigging", "three_d_text_to_motion", "three_d_reconstruction_from_photos_or_video", "three_d_parts_and_texturing", "music_songs_with_vocals", "music_songs_with_vocals_commercial", "music_instrumentals_and_beds", "music_sound_effects", "music_video_to_audio_foley", "music_video_to_audio_foley_commercial", "music_hum_to_song_covers_and_accompaniment", "music_hum_to_song_covers_and_accompaniment_commercial", "music_extend_vary_and_master", "music_stem_separation", "music_audio_to_midi_and_midi_composing", "music_audio_to_midi_and_midi_composing_commercial", "music_singing_voice", "music_singing_voice_commercial", "music_music_understanding", "music_music_understanding_commercial", "speech_text_to_speech", "speech_text_to_speech_commercial", "speech_voice_cloning", "speech_voice_cloning_commercial", "speech_dialogue_and_podcasts", "speech_dialogue_and_podcasts_commercial", "speech_voice_conversion", "speech_transcription", "speech_speaker_diarization", "speech_speech_translation_and_dubbing", "speech_speech_enhancement", "speech_audio_understanding", "speech_audio_understanding_commercial", "docs_vision_document_ocr_to_markdown", "docs_vision_document_ocr_to_markdown_commercial", "docs_vision_charts_diagrams_and_figures", "docs_vision_charts_diagrams_and_figures_commercial", "docs_vision_gui_grounding", "docs_vision_gui_grounding_commercial", "docs_vision_image_and_video_q_a", "docs_vision_video_understanding", "docs_vision_output_checks", "docs_vision_provenance_and_safety", "docs_vision_long_tail_translation" ] } } ], "responses": { "200": { "description": "OpenAPI 3.0.3 document for the upstream Space", "content": { "application/json": { "schema": { "type": "object" } } } } } } } } }