Docs menu
Create Posts Using AI Suggested Palette
Posts in a palette chosen for you.
Leave color_palette_type as ai_suggested and a calm palette is chosen for each post.
Python
import requests
url = "https://gnraisolutions.com/api/v1/create_content"
payload = {
"brand_id": "YOUR_BRAND_ID",
"text": "How to prepare your home before a showing",
"media_type": "single_image",
"color_palette_type": "ai_suggested",
}
headers = {"Authorization": "YOUR_API_KEY"}
response = requests.post(url, data=payload, headers=headers)
print(response.json())
# {"post_ids": ["..."], "post_status": "inProgress", "errors": []}The finished post arrives on your webhook, or with Get All Posts.