GitHub Repo

Creative API Lane

Hugging Face in the Foundry

A new lane for Hugging Face account access, free-tier inference experiments, and practical recovery routes for both image and video generation beyond the now quota-blocked Google image path and the broken native Google video lane.

April 21, 2026HF token validatedImage route provenVideo route proven

Today this lane stopped being hypothetical. A valid Hugging Face token was placed locally on the machine, Ash verified it against the Hugging Face account API, and the route resolved to the augmentedthinker account. That matters because it gives the Foundry a new practical inference path after Google image generation became quota-blocked on the current free-tier project.

The local token currently lives in the machine's private env folder, specifically /home/ash/env/huggingface_token.txt. It is not stored in this repository. The intended pattern matches the other local-secret routes in the system: keep the credential local, use it from tooling, and expose only browser-facing documentation and experiments inside the Foundry.

The first practical use case was image generation. Using the validated token, Ash successfully generated a first browser-storable image through Hugging Face inference. That immediately moved Hugging Face from “maybe useful later” into the category of a real recovery route.

The next major use case is now video generation. Direct hub-visible text-to-video model routes through hf-inference failed with unsupported-model errors, but a Hugging Face Space with exposed Gradio API endpoints did work. Specifically, Lightricks/ltx-video-distilled returned a real MP4 through its /gradio_api/call/text_to_video endpoint.

A dedicated Hugging Face API Tester now exists for image routes, and a separate Hugging Face Video Tester now exists for these emerging video-route patterns so we can distinguish direct provider failures from genuinely working Space-based workflows.

What access means in practice

Current interpretation

Hugging Face now looks like the strongest immediate candidate for a better-quality fallback creative lane than Pollinations, while still avoiding the heavier friction of setting up a fully paid dedicated provider on day one. The most important nuance is that Hugging Face is not one single access pattern. The hub, the direct hf-inference router, and individual Spaces can behave very differently. The long-term role still needs more testing, but the route is now real for both images and at least one proven video workflow.

Current documented pages in this lane