Spaces:
Running
Running
File size: 6,985 Bytes
fea5887 d2fe18e fea5887 0889521 fea5887 4be9826 0889521 4be9826 fea5887 1cd8170 8ad7b12 fea5887 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 | {
"openapi": "3.0.3",
"info": {
"title": "ZeroGPU Inference Catalog",
"version": "2026-11-21",
"description": "Connect your agents to the right creative tools. One curated Hugging Face ZeroGPU Space per agent task (image, video, 3D, music, speech, documents). Simplest path: download cli.py (getClient) and run `python3 cli.py run <task> key=value`; it uploads files, handles the two-step stream, coerces types and saves outputs. Or `python3 cli.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"
}
}
}
}
}
}
},
"/cli.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_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_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",
"docs_vision_long_tail_translation_commercial",
"image_edit_text_in_images_commercial",
"video_video_depth_commercial",
"docs_vision_video_understanding_commercial",
"image_edit_virtual_try_on_commercial"
]
}
}
],
"responses": {
"200": {
"description": "OpenAPI 3.0.3 document for the upstream Space",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
}
}
}
} |