Create Image Collection

    POSThttps://picnie.com/api/v1/create-image-collection
    Generate a multi-image collection by customizing a template JSON object. Change image/text values to generate images at any scale.

    Headers

    NameTypeDescription
    Authorization*
    string

    Pass api key in the authorization field

    Example:YOUR_API_KEY

    Body Parameters

    NameTypeDescription
    template_group_id*
    integer

    The ID of the template group.

    Example:3

    project_id*
    integer

    The ID of the project. Create one using Picnie's dashboard if needed.

    Example:1

    output_image_quality
    string

    Quality of output image. Values: Maximum, High, Medium, Low. Default: Medium.

    Example:High

    output_image_format
    string

    Format of output image. Values: jpg, png, gif, webp. Default: jpg.

    Example:png

    details*
    array

    JSON array of objects specifying image and text elements.

    Example:[{"name": "logo_image", "image_url": "https://picnie.com/data/raw_images/logo_brand_pic.png"}, {"name": "title", "text": "SUPER SALE"}, {"name": "second_title", "text": "50% OFF"}, {"name": "third_title", "text": "Get special prize for limited time"}, {"name": "button_text", "text": "SHOP NOW"}]

    Notes

    ⚠️ Authentication required