Create Image

    POSThttps://picnie.com/api/v1/create-image
    Generate a single image 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
    project_id*
    string

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

    Example:1

    template_id*
    integer

    The ID of the template.

    Example:2020

    template_name*
    string

    Name of the template.

    Example:Daily Motivation

    type*
    string

    Must be 'image'.

    Example:image

    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": "background_image", "image_url": "https://picnie.com/data/api_raw_assets/image_bg_0_20240108213254.png"}, {"name": "Title_0", "text": "@reallygreatsite"}, {"name": "Title_1", "text": "One step at a time, Youll get there"}]

    Notes

    ⚠️ Authentication required