Creative_Breakthrough / Ad_Generator_Lite.postman_collection.json
sushilideaclan01's picture
Update ad generation features and enhance user input options
addcf34
{
"info": {
"_postman_id": "psyadgenesis-collection",
"name": "PsyAdGenesis API",
"description": "Complete API collection for PsyAdGenesis - Design ads that stop the scroll. Generate high-converting ad creatives for Home Insurance and GLP-1 niches",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "psyadgenesis"
},
"item": [
{
"name": "Root & Health",
"item": [
{
"name": "Root - API Info",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/",
"host": ["{{base_url}}"],
"path": [""]
},
"description": "Get API information and available endpoints"
},
"response": []
},
{
"name": "Health Check",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/health",
"host": ["{{base_url}}"],
"path": ["health"]
},
"description": "Health check endpoint"
},
"response": []
}
]
},
{
"name": "Standard Generation",
"item": [
{
"name": "Generate Single Ad",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"niche\": \"home_insurance\",\n \"num_images\": 1\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{base_url}}/generate",
"host": ["{{base_url}}"],
"path": ["generate"]
},
"description": "Generate a single ad creative with maximum randomization"
},
"response": []
},
{
"name": "Generate Batch Ads",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"niche\": \"home_insurance\",\n \"count\": 5,\n \"images_per_ad\": 1\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{base_url}}/generate/batch",
"host": ["{{base_url}}"],
"path": ["generate", "batch"]
},
"description": "Generate multiple ad creatives in batch (1-20 ads)"
},
"response": []
},
{
"name": "Get Strategies",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/strategies/home_insurance",
"host": ["{{base_url}}"],
"path": ["strategies", "home_insurance"]
},
"description": "Get available psychological strategies for a niche"
},
"response": []
}
]
},
{
"name": "Matrix Generation",
"item": [
{
"name": "Generate with Matrix",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"niche\": \"home_insurance\",\n \"num_images\": 1\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{base_url}}/matrix/generate",
"host": ["{{base_url}}"],
"path": ["matrix", "generate"]
},
"description": "Generate ad using Angle × Concept matrix (random combination)"
},
"response": []
},
{
"name": "Generate with Specific Angle & Concept",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"niche\": \"home_insurance\",\n \"angle_key\": \"save_money\",\n \"concept_key\": \"before_after\",\n \"num_images\": 1\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{base_url}}/matrix/generate",
"host": ["{{base_url}}"],
"path": ["matrix", "generate"]
},
"description": "Generate ad with specific angle and concept combination"
},
"response": []
},
{
"name": "Generate Testing Matrix",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"niche\": \"home_insurance\",\n \"angle_count\": 6,\n \"concept_count\": 5,\n \"strategy\": \"balanced\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{base_url}}/matrix/testing",
"host": ["{{base_url}}"],
"path": ["matrix", "testing"]
},
"description": "Generate testing matrix (30 combinations) for systematic testing"
},
"response": []
}
]
},
{
"name": "Matrix Info",
"item": [
{
"name": "List All Angles",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/matrix/angles",
"host": ["{{base_url}}"],
"path": ["matrix", "angles"]
},
"description": "List all 100 angles (10 categories)"
},
"response": []
},
{
"name": "List All Concepts",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/matrix/concepts",
"host": ["{{base_url}}"],
"path": ["matrix", "concepts"]
},
"description": "List all 100 concepts (10 categories)"
},
"response": []
},
{
"name": "Get Angle Details",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/matrix/angle/save_money",
"host": ["{{base_url}}"],
"path": ["matrix", "angle", "save_money"]
},
"description": "Get details for a specific angle by key"
},
"response": []
},
{
"name": "Get Concept Details",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/matrix/concept/before_after",
"host": ["{{base_url}}"],
"path": ["matrix", "concept", "before_after"]
},
"description": "Get details for a specific concept by key"
},
"response": []
},
{
"name": "Get Compatible Concepts",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/matrix/compatible/save_money",
"host": ["{{base_url}}"],
"path": ["matrix", "compatible", "save_money"]
},
"description": "Get concepts compatible with a specific angle"
},
"response": []
}
]
},
{
"name": "Database",
"item": [
{
"name": "Get Database Stats",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/db/stats",
"host": ["{{base_url}}"],
"path": ["db", "stats"]
},
"description": "Get statistics about stored ad creatives"
},
"response": []
},
{
"name": "List Stored Ads",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/db/ads?niche=home_insurance&limit=50&offset=0",
"host": ["{{base_url}}"],
"path": ["db", "ads"],
"query": [
{
"key": "niche",
"value": "home_insurance",
"description": "Filter by niche (optional)"
},
{
"key": "limit",
"value": "50",
"description": "Number of results (default: 50)"
},
{
"key": "offset",
"value": "0",
"description": "Pagination offset (default: 0)"
}
]
},
"description": "List ad creatives stored in database"
},
"response": []
},
{
"name": "Get Stored Ad by ID",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/db/ad/:ad_id",
"host": ["{{base_url}}"],
"path": ["db", "ad", ":ad_id"],
"variable": [
{
"key": "ad_id",
"value": "your-ad-id-here",
"description": "Ad creative ID (UUID)"
}
]
},
"description": "Get a specific ad creative by ID"
},
"response": []
},
{
"name": "Delete Stored Ad",
"request": {
"method": "DELETE",
"header": [],
"url": {
"raw": "{{base_url}}/db/ad/:ad_id",
"host": ["{{base_url}}"],
"path": ["db", "ad", ":ad_id"],
"variable": [
{
"key": "ad_id",
"value": "your-ad-id-here",
"description": "Ad creative ID (UUID)"
}
]
},
"description": "Delete an ad creative from database"
},
"response": []
}
]
},
{
"name": "Images",
"item": [
{
"name": "Get Image by Filename",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/image/home_insurance_20260107_184636_9a986c53.png",
"host": ["{{base_url}}"],
"path": ["image", "home_insurance_20260107_184636_9a986c53.png"]
},
"description": "Get a generated image by filename"
},
"response": []
}
]
}
],
"variable": [
{
"key": "base_url",
"value": "http://localhost:8000",
"type": "string"
}
]
}