饾櫝 饾櫚 饾櫥 饾櫥 路 饾櫞 Design Lab
饾櫝 饾櫚 饾櫥 饾櫥 路 饾櫞 Design Lab 路 Acciones GPT
DALLE Design Lab API
API to create custom merchandise based on product ID and image URL.
GET /productGeneration.phpCreate a product with an image
Esquema original API
openapi: 3.0.0
info:
title: DALLE Design Lab API
version: "1.0.0"
description: API to create custom merchandise based on product ID and image URL.
servers:
- url: 'https://wib.ai/webpage2/'
description: Main production server
paths:
/productGeneration.php:
get:
summary: Create a product with an image
operationId: CreateProduct
parameters:
- name: product
in: query
description: Product ID to create a product
required: true
schema:
type: integer
- name: image
in: query
description: image URL provided by the user
required: true
schema:
type: string
- name: title
in: query
description: playful product title (user sees it)
required: true
schema:
type: string
- name: description
in: query
description: playful product description (user sees it)
required: true
schema:
type: string
- name: variant
in: query
description: variant ID to create specified product
required: false
schema:
type: integer
- name: printArea
in: query
description: the requested print area
required: false
schema:
type: string
responses:
'200':
description: A JSON response with created product details
content:
application/json:
schema:
type: object
properties:
product:
type: string
images:
type: array
items:
type: string
variants:
type: object
printAreas:
type: array
items:
type: string
additionalProperties: false