Otomasyon Platformları için Carousel API

PostNitro'nun İçerik Oluşturma API'siyle Döngü Oluşturmayı Otomatikleştirin

Yapay zeka destekli karusel API'mizi entegre ederek büyük ölçekte sosyal medya içeriği oluşturun. Otomasyon platformları, pazarlama araçları ve içerik yönetim sistemleri için mükemmeldir.

Ücretsiz plan mevcut | Kredi kartı gerekmez

Nasıl Çalışır?

Step 1

İçerik Gönder

İçeriğiniz, konunuz veya URL'nizle basit bir API çağrısı yapın. Sistemimiz isteğinizi anında işler.

Step 2

İlerlemeyi İzle

Üretim durumunu gerçek zamanlı olarak takip edin. Döngünüz hazır olduğunda webhooks aracılığıyla bildirim alın.

Step 3

Sonuçları İndir

Tamamlanmış karuselinizi birden fazla formatta alın, yayınlamaya veya farklı platformlarda planlamaya hazır olun.

API Belgelerini Görüntüle

Hızlı Entegrasyon

Platformunuza Dakikalar İçinde Carousel Oluşturma Ekleyin

API'mizi entegre etmenin ne kadar kolay olduğunu görün. Bu örnek, içerik oluşturma uç noktalarımızı kullanarak temel döngü oluşturmayı göstermektedir.

Initiate Carousel Creation

Users can initiate carousel creation by either generating a new carousel or importing content into an existing carousel.

Generate with AI

To generate a carousel using AI, use the following cURL command:

curl 
    --location 'https://embed-api.postnitro.ai/post/initiate/generate'
    --header 'Content-Type: application/json'
    --header 'embed-api-key: your-api-key'
    --data '{
        "postType": "CAROUSEL",
        "templateId": "your-template-id",
        "brandId": "your-brand-id",
        "presetId": "your-ai-preset-id",
        "responseType": "PNG",
        "aiGeneration": {
            "type": "text",
            "context": "Create a LinkedIn carousel about digital marketing tips for small businesses",
            "instructions": "Focus on actionable tips that can be implemented immediately"
        }
    }'
Import Content

To import content into a carousel, use the following cURL command:

curl 
    --location 'https://embed-api.postnitro.ai/post/initiate/import'
    --header 'Content-Type: application/json'
    --header 'embed-api-key: your-api-key'
    --data '{
        "postType": "CAROUSEL",
        "requestorId": "your-requestor-id",
        "templateId": "your-template-id",
        "brandId": "your-brand-id",
        "responseType": "PNG",
        "slides": [
            {
                "type": "starting_slide",
                "sub_heading": "My Awesome Subtitle",
                "heading": "Welcome to the Carousel!",
                "description": "This is how you start with a bang.",
                "cta_button": "Swipe to learn more",
                "background_image": "https://example.com/background1.jpg"
            },
            {
                "type": "body_slide",
                "heading": "Section 1: The Core Idea",
                "description": "Explain your first key point here.",
                "image": "https://example.com/image1.jpg"
            },
            {
                "type": "ending_slide",
                "sub_heading": "Ready to Act?",
                "heading": "Get Started Today!",
                "description": "A final encouraging message.",
                "cta_button": "Visit Our Website",
                "image": "https://example.com/logo.png",
                "background_image": "https://example.com/background2.jpg"
            }
        ]
    }'

Understanding the ExportData type

The callback function receives an ExportData object, which contains the following properties:

export interface ExportData {
    id: string;           // Unique identifier for the content
    name: string;         // User-defined content name
    size: string;         // Aspect ratio (e.g., "16:9", "1:1", "9:16")
    type: string;         // Export format: "pdf", "png", or "mp4"
    data: Blob | Blob[];  // File data - single Blob for PDF/MP4, Blob array for PNG
}

Check Request Status

To check the status of a request, use the following cURL command:

curl 
    --location 'https://embed-api.postnitro.ai/post/request-status'
    --header 'Content-Type: application/json'
    --header 'embed-api-key: your-api-key'
    --data '{
        "embedPostId": "post123"
    }'

Get Output

To get the output of a request, use the following cURL command:

curl
    --location 'https://embed-api.postnitro.ai/post/output'
    --header 'Content-Type: application/json'
    --header 'embed-api-key: your-api-key'
    --data '{
        "embedPostId": "post123"
    }'
Tüm Belgeleri Görüntüle