CreateNew
Create image - New Image
Async function -> response in notification 'create'
Example:
import requests
import json
url_api = 'https://api.piktid.com/api'
options = {}
response = requests.post(url_api+'/create/new',
headers={'Authorization': 'Bearer '+TOKEN},
json={'options':json.dumps(options)},
)
response_json = json.loads(response.text)
links = response_json.get('links')Authorization
token_auth_2 AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://api.piktid.com/api/create/new" \ -H "Content-Type: application/json" \ -d '{}'{
"status": "string",
"id_task": "string",
"id_image": "string"
}{
"code": 0,
"message": "string",
"description": "string"
}{
"code": 0,
"message": "string",
"description": "string"
}