Cloudinary Cdn
Apps & Automationcloudinary-cdnCloudinary Cdn is an Agent Skill for apps & automation published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Video CDN yonetimi. Use when uploading videos for Instagram Reels.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/data/cloudinary-cdn/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cloudinary-cdn, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Cloudinary CDN
Instagram Reels icin public URL gerekli. Yerel video dosyalarini Cloudinary'ye yukleyip public URL aliyoruz.
Quick Reference
| Fonksiyon | Amac |
|---|---|
| configure_cloudinary() | SDK'yi baslat |
| upload_video_to_cloudinary() | Video yukle |
| delete_from_cloudinary() | Video sil |
Kullanim
from app.cloudinary_helper import upload_video_to_cloudinary
result = await upload_video_to_cloudinary(
video_path="/path/to/video.mp4",
folder="olivenet-reels"
)
if result["success"]:
public_url = result["url"] # Instagram Reels icin kullan
Return Format
# Basarili
{
"success": True,
"url": "https://res.cloudinary.com/cloud/video/upload/v123/olivenet-reels/xyz.mp4",
"public_id": "olivenet-reels/xyz",
"duration": 8.5,
"format": "mp4"
}
# Hata
{
"success": False,
"error": "File not found: /path/to/video.mp4"
}
Reels Pipeline Akisi
1. Veo/Sora -> video.mp4 (yerel dosya)
2. upload_video_to_cloudinary() -> public URL
3. Instagram API -> create container with URL
4. Instagram API -> publish container
5. (opsiyonel) delete_from_cloudinary() -> temizlik
Silme
from app.cloudinary_helper import delete_from_cloudinary
result = await delete_from_cloudinary("olivenet-reels/xyz")
if result["success"]:
print("Silindi")
Environment
CLOUDINARY_CLOUD_NAME=your_cloud_name
CLOUDINARY_API_KEY=your_api_key
CLOUDINARY_API_SECRET=your_api_secret
Notlar
- Async upload icin thread pool kullaniliyor
- overwrite=True: Ayni isimde dosya varsa ustune yaz
- secure=True: HTTPS URL'ler
- resource_type="video": Video olarak isle
Dosya
app/cloudinary_helper.py