File size: 9,525 Bytes
8454aa1 addcf34 8454aa1 addcf34 8454aa1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 | {
"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"
}
]
}
|