[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-e0583976-0e8d-495b-8184-298e3bd4ba52":3,"$fktRNRGxlpho0GlNa3BwYPhtWT-DL_9g48R9BoCkp8f0":43},{"id":4,"title":5,"description":6,"categoryId":7,"moduleId":8,"tags":9,"prompt":10,"icon":11,"source":12,"sourceUrl":13,"authorId":14,"authorName":15,"isPublic":16,"stars":17,"runs":18,"createdAt":19,"updatedAt":19,"module":20,"category":27,"packages":34},"e0583976-0e8d-495b-8184-298e3bd4ba52","azure-ai-transcription-py","Azure AI语音转文本SDK（Python版）。用于实时和批量语音转文本转录，带有时间戳和说话人分割。","cat_coding_devops","mod_coding","sickn33,coding","---\nname: azure-ai-transcription-py\ndescription: Azure AI Transcription SDK for Python. Use for real-time and batch speech-to-text transcription with timestamps and diarization.\nrisk: unknown\nsource: community\ndate_added: '2026-02-27'\n---\n\n# Azure AI Transcription SDK for Python\n\nClient library for Azure AI Transcription (speech-to-text) with real-time and batch transcription.\n\n## Installation\n\n```bash\npip install azure-ai-transcription\n```\n\n## Environment Variables\n\n```bash\nTRANSCRIPTION_ENDPOINT=https:\u002F\u002F\u003Cresource>.cognitiveservices.azure.com\nTRANSCRIPTION_KEY=\u003Cyour-key>\n```\n\n## Authentication\n\nUse subscription key authentication (DefaultAzureCredential is not supported for this client):\n\n```python\nimport os\nfrom azure.ai.transcription import TranscriptionClient\n\nclient = TranscriptionClient(\n    endpoint=os.environ[\"TRANSCRIPTION_ENDPOINT\"],\n    credential=os.environ[\"TRANSCRIPTION_KEY\"]\n)\n```\n\n## Transcription (Batch)\n\n```python\njob = client.begin_transcription(\n    name=\"meeting-transcription\",\n    locale=\"en-US\",\n    content_urls=[\"https:\u002F\u002F\u003Cstorage>\u002Faudio.wav\"],\n    diarization_enabled=True\n)\nresult = job.result()\nprint(result.status)\n```\n\n## Transcription (Real-time)\n\n```python\nstream = client.begin_stream_transcription(locale=\"en-US\")\nstream.send_audio_file(\"audio.wav\")\nfor event in stream:\n    print(event.text)\n```\n\n## Best Practices\n\n1. **Enable diarization** when multiple speakers are present\n2. **Use batch transcription** for long files stored in blob storage\n3. **Capture timestamps** for subtitle generation\n4. **Specify language** to improve recognition accuracy\n5. **Handle streaming backpressure** for real-time transcription\n6. **Close transcription sessions** when complete\n\n## When to Use\nThis skill is applicable to execute the workflow or actions described in the overview.\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n","","imported","https:\u002F\u002Fgithub.com\u002Fsickn33\u002Fantigravity-awesome-skills","user_system_seed","SkillOPIC",true,72,531,"2026-05-16 13:05:27",{"id":8,"name":21,"slug":22,"icon":23,"description":24,"sort":25,"createdAt":26},"编程开发","coding","mdi-code-braces","代码生成、调试、审查，提升开发效率",2,"2026-05-16 12:53:40",{"id":7,"name":28,"slug":29,"icon":30,"description":31,"moduleId":8,"sort":32,"skillCount":33,"createdAt":26},"DevOps","devops","mdi-cog-outline","CI\u002FCD、容器化、部署运维",3,162,[35],{"id":36,"skillId":4,"version":37,"fileName":38,"fileSize":39,"filePath":40,"fileHash":41,"manifest":42,"createdAt":19},"9617ece3-1177-4e38-b6c8-9cb84353f23d","1.0.0","azure-ai-transcription-py.zip",1131,"uploads\u002Fskills\u002Fe0583976-0e8d-495b-8184-298e3bd4ba52\u002Fazure-ai-transcription-py.zip","c3984088040e3a25713b494d62be4cee57b1e4eee79038fdab01f41276b985fc","[{\"path\":\"SKILL.md\",\"isDirectory\":false,\"size\":2138}]",{"code":44,"message":45,"data":46},200,"success",{"items":47,"stats":48,"page":51},[],{"averageRating":49,"totalRatings":49,"ratingCounts":50},0,[49,49,49,49,49],{"limit":52,"offset":49,"hasMore":53,"nextOffset":52,"ratedOnly":16},15,false]