tanstack/ai · packages/ai/skills/ai-core/media-generation/SKILL.md

ai-core/media-generation skillA

ai-core/media-generation is agent-read markdown (skill) from tanstack/ai: Image, audio, video, speech (TTS), and transcription generation using activity-specific adapters: generateImage() with openaiImage/geminiImage/byteplusImage, generateAudio() with geminiAudio/falAudio, generateVideo() with async polling (openaiVideo/geminiVideo/grokVideo/falVideo/byteplusVideo/openRouterVideo, per-model typed durations), generateSpeech() with openaiSpeech/byteplusSpeech, generateTranscription() with openaiTranscription/byteplusTranscription. React hooks: useGenerateImage, useGene.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

How to install

Latest version
mdr add tanstack/ai/ai-core/media-generation@git:20260910.acc69bb
Exact content
mdr add tanstack/ai/ai-core/media-generation@sha256:b7d65a7c2ed9796a

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_koszfhxdvnywlddo.svg)](https://markdownregistry.com/a/art_koszfhxdvnywlddo)

0 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260910.acc69bb latest2026-09-10 acc69bb 47,579 BA view · diff
git:20260909.53e2ec02026-09-09 53e2ec0 47,315 BA view · diff
git:20260831.9c9746b2026-08-31 9c9746b 45,064 BA view · diff
git:20260820.90d22ad2026-08-20 90d22ad 44,912 BA view · diff
git:20260819.41a5d182026-08-19 41a5d18 44,677 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (47579 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

tanstack/ai · 3,099 stars · license MIT · pushed 2026-09-12 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_koszfhxdvnywlddo
GET https://markdownregistry.com/api/v1/resolve?ref=tanstack/ai/ai-core/media-generation
GET https://markdownregistry.com/api/v1/blob/b7d65a7c2ed9796a5ed968779cfdd77406237e454ba3884571b592a80c387cef