Portal de Conhecimento – Artigos e Tutoriais Informática

Diversos Principal

O que é SAF-T ?

O SAF-T é um formato de normalização de exportação de dados, com o objetivo principal de combater a evasão fiscal e facilitar a auditoria por parte dos serviços fiscais.

O SAF-T(PT) (Standard Audit File for Tax Purposes – Portugal Version) é um ficheiro normalizado de exportação de dados e serve para comunicar à Autoridade Tributária todos os documentos com relevância fiscal provenientes das atividades e transações comerciais que as empresas realizam.

Sendo uma área fundamental na Empresa, a Gestão Comercial deve estar assente num software que permita controlar todo este o processo, desde o momento da compra até à venda, passando pela gestão de encomendas, devoluções, movimentos pendentes, entre outros.

O software Analisador SAF-T permite visualizar, validar e analisar os dados do Ficheiro SAF-T PT, criado a partir de qualquer programa.

Atualmente, a maioria das Empresas de Portugal, já utilizam o Analisador SAF-T para validarem rapidamente grandes volumes de dados comerciais e contabilísticos, de forma, detalhada e intuitiva.

Software de apoio à auditoria financeira

  • Apoia as conferências dos departamentos comerciais e de tecnologias de informação
  • Permite a conferência do IVA
  • Abre de imediato os ficheiros SAFT assim que é guardada a base de dados
  • Analisa simultaneamente as vendas, compras e a contabilidade de um só ficheiro
  • Permite juntar vários ficheiros SAFT para uma análise única e global

As versões do SAFT disponibilizam algumas melhorias, novas validações ao ficheiro e ainda novas funcionalidades na área de clientes, fornecedores, documentos de faturação, download de documentos fiscais e muito mais.

Principais novidades:

Clientes e Fornecedores:

Foi adicionada a possibilidade de validar na AT os números de contribuinte de um modo sequencial sem necessidade de selecionar a próxima entidade. Assim, o sistema valida e extrai os dados do portal da AT acerca da situação de atividade, regime de IVA e datas de cessão de IVA e IRC/IRS, sendo necessário ao utilizador colocar os carateres da captcha do site, mas de um modo sequencial. Para efetuar a validação na AT efetue os seguintes passos:

       1. Aceda a Clientes ou a Fornecedores;

       2. Selecione as diversas Linhas que pretende validar;

       3. A seguir clique em Validar NIF | Consulta NIF na AT;

          4. Introduza o Login na AT;

•             Faturação

•             Analisa os documentos de faturação (fatura, fatura-recibo, nota de crédito e nota de débito)

•             Analisa os documentos de transporte (guias de transporte, guias de remessa e outros)

•             Analisa os documentos de conferência (receção de mercadorias, consultas de mesa e outros)

•             Analisa os recibos emitidos

•             Dispõe de validações personalizáveis e de diferentes níveis de agressividade

•             Responde às questões sobre a criação, alteração e eliminação dos registos comerciais

•             Agrega a evolução de vendas por clientes, artigos, quantidades, preços, entre outros

•             Compara a informação comercial com o período homólogo

•             Contabilidade

•             Audite a contabilidade desde o balancete até ao pormenor de cada lançamento

•             Disponibiliza a informação contabilística dos diários, documentos e lançamentos

•             Obtenha os balancetes analíticos comparativos, extratos de conta e outros documentos

•             Obtenha as evoluções mensais e acumuladas por razão, subtotal e contas de movimento

•             Aproveite as análises pré-definidas em áreas do balanço, gastos e rendimentos

•             Visualize e exporte as análises contabilísticas de vários anos

•             Conheça os tipos de lançamentos mais utilizados na contabilidade

•             Faça o diagnóstico às validações SVAT

•             E-Fatura / AT

•             Analise todas as compras de bens e serviços comunicadas pelos fornecedores

•             Saiba quem são os fornecedores da empresa por ano, mês e dia

•             Confira se todas as compras comunicadas pelos fornecedores estão registadas na contabilidade

•             Analise rapidamente as divergências do e-fatura a justificar no “Apoio ao Cumprimento”

•             Efetue o download das compras diretamente do portal e-fatura

•             Download automático de documentos fiscais

Quais os tipos de documentos são comunicados?

Através deste ficheiro são comunicados obrigatoriamente à Autoridade Tributária os seguintes documentos:

Fatura;

Fatura/Recibo;

Fatura Simplificada;

Nota de Crédito;

Nota de Débito;

Recibos (no caso de empresas ao abrigo do regime de IVA de caixa).

Existem ainda outros documentos cujas características permitem a conferência de artigos e valores e que também são incluídos na exportação do ficheiro SAF-T (PT). São exemplo disso os Documentos de Transporte, Orçamentos, Faturas Pro-Forma, Fichas de Serviço, Notas de Encomenda, entre outros.

Resumindo e concluindo, SAF-T(PT) é um ficheiro normalizado de exportação de dados para posterior comunicação à Autoridade Tributária.

Este ficheiro foi concebido com o objetivo de permitir uma exportação fácil, e em qualquer altura, de um conjunto predefinido de registos contabilísticos, num formato legível e comum, independente do programa utilizado.

O seu formato encontra-se em linguagem XML e a sua exportação nada afecta a estrutura interna da base de dados do seu programa ou a sua funcionalidade.


  "openapi": "3.0.0",
  "info": {
    "title": "neural.love API",
    "description": "API for using neural.love processing capabilities automatically.",
    "termsOfService": "https://neural.love/terms",
    "contact": {
      "name": "neural.love support",
      "email": "support@neural.love"
    },
    "version": "0.1"
  },
  "servers": [
    {
      "url": "https://api.neural.love/{version}",
      "description": "neural.love API server",
      "variables": {
        "version": {
          "default": "v1",
          "description": "API version"
        }
      }
    }
  ],
  "paths": {
    "/ai-art/generate": {
      "post": {
        "tags": [
          "AI Art Generator"
        ],
        "summary": "Create generation order",
        "operationId": "aiArtGenerate",
        "requestBody": {
          "description": "Parameters of generation",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AiArtGenerateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "If request is successful we return `orderId` that you can use to get status and results of the generation. We also return `price` with amount of credits spent on this order",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "orderId": {
                      "title": "Order ID",
                      "type": "string",
                      "format": "uuid",
                      "example": "1ed271bf-79d5-6dc2-b2a4-27367288a342"
                    },
                    "price": {
                      "$ref": "#/components/schemas/Credits"
                    }
                  },
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "402": {
            "$ref": "#/components/responses/402"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "439": {
            "$ref": "#/components/responses/439"
          }
        }
      }
    },
    "/ai-art/pack/generate": {
      "post": {
        "tags": [
          "AI Art Packs Generation"
        ],
        "summary": "Create pack order",
        "operationId": "aiArtGeneratePack",
        "requestBody": {
          "description": "Parameters of generation. Minimal amount images in a pack is 5",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PackGenerateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "If request is successful we return `orderId` that you can use to get status and results of the generation. We also return `price` with amount of credits spent on this order",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "orderId": {
                      "title": "Order ID",
                      "type": "string",
                      "format": "uuid",
                      "example": "1ed271bf-79d5-6dc2-b2a4-27367288a342"
                    },
                    "price": {
                      "$ref": "#/components/schemas/Credits"
                    }
                  },
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "402": {
            "$ref": "#/components/responses/402"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "439": {
            "$ref": "#/components/responses/439"
          }
        }
      }
    },
    "/ai-art/pack/{id}/styles": {
      "get": {
        "tags": [
          "AI Art Packs Generation"
        ],
        "summary": "Get available pack styles",
        "operationId": "aiArtPackStyles",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Model ID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "example": "1ed271bf-79d5-6dc2-b2a4-27367288a342"
          }
        ],
        "responses": {
          "200": {
            "description": "Available styles",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "example": "3D: Anime"
                  }
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      }
    },
    "/ai-art/orders/{id}": {
      "get": {
        "tags": [
          "AI Art Generator"
        ],
        "summary": "Order information",
        "operationId": "aiArtGetOrder",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Order ID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "example": "1ed271bf-79d5-6dc2-b2a4-27367288a342"
          }
        ],
        "responses": {
          "200": {
            "description": "Data for the requested order",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AiArtOrder"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      }
    },
    "/ai-art/styles": {
      "get": {
        "tags": [
          "AI Art Generator"
        ],
        "summary": "Styles list",
        "operationId": "aiArtStyles",
        "responses": {
          "200": {
            "description": "Available styles",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "example": "painting"
                  }
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      }
    },
    "/ai-art/custom-model/create": {
      "post": {
        "tags": [
          "AI Art Custom Model Creator"
        ],
        "summary": "Start training custom model",
        "description": "Start training custom model for AI Art Generator",
        "operationId": "aiCustomModelGenerate",
        "requestBody": {
          "description": "Parameters of generation",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DreamboothGenerateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "If request is successful we return `orderId`. Wait till model will train and use it in `/ai-art/generate` request",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "orderId": {
                      "title": "Order ID",
                      "type": "string",
                      "format": "uuid",
                      "example": "1ed271bf-79d5-6dc2-b2a4-27367288a342"
                    },
                    "price": {
                      "$ref": "#/components/schemas/Credits"
                    }
                  },
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "402": {
            "$ref": "#/components/responses/402"
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      }
    },
    "/ai-art/custom-model/models": {
      "get": {
        "tags": [
          "AI Art Custom Model Creator"
        ],
        "summary": "Get list of your custom models",
        "operationId": "aiCustomModelGet",
        "parameters": [
          {
            "name": "paginationToken",
            "in": "query",
            "description": "Pagination token",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "1ed271bf7.9d56dc2b2a4.27367288a342"
          }
        ],
        "responses": {
          "200": {
            "description": "List of your models",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "items": {
                      "title": "List of models",
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CustomModel"
                      }
                    },
                    "paginationToken": {
                      "title": "Pagination token (send it to the next request to paginate). \"EOF\" if last page",
                      "type": "string",
                      "example": "EOF"
                    }
                  },
                  "type": "object"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      }
    },
    "/ai-art/custom-model/models/{id}": {
      "get": {
        "tags": [
          "AI Art Custom Model Creator"
        ],
        "summary": "Get data for specific model",
        "operationId": "aiCustomModelGetOne",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Model ID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "example": "1ed271bf-79d5-6dc2-b2a4-27367288a342"
          }
        ],
        "responses": {
          "200": {
            "description": "Data for the requested model",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomModel"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      }
    },
    "/ai-art/custom-model/autopack/create": {
      "post": {
        "tags": [
          "AI Art Custom Model Creator"
        ],
        "summary": "Create automatic pack of 50 images",
        "description": "Create automatic random pack for custom model. It will create a new ai-art order with random prompts. You will get 50 images for 10 credits.",
        "operationId": "aiCustomModelAutoPackCreate",
        "requestBody": {
          "description": "Parameters of generation",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "id": {
                    "description": "Model ID",
                    "type": "string",
                    "format": "uuid",
                    "example": "1ed271bf-79d5-6dc2-b2a4-27367288a342"
                  }
                },
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "If request is successful we return `orderId` that you can use to get status and results of the generation. We also return `price` with amount of credits spent on this order",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "orderId": {
                      "title": "Order ID",
                      "type": "string",
                      "format": "uuid",
                      "example": "1ed271bf-79d5-6dc2-b2a4-27367288a342"
                    },
                    "price": {
                      "$ref": "#/components/schemas/Credits"
                    }
                  },
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "402": {
            "$ref": "#/components/responses/402"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "439": {
            "$ref": "#/components/responses/439"
          }
        }
      }
    },
    "/images/process": {
      "post": {
        "tags": [
          "Images"
        ],
        "summary": "Create image processing order",
        "operationId": "imagesProcess",
        "requestBody": {
          "description": "Parameters of generation",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ImagesProcessRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "If request is successful we return `orderId` that you can use to get status and results of the processing. We also return `price` with amount of credits spent on this order",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "orderId": {
                      "title": "Order ID",
                      "type": "string",
                      "format": "uuid",
                      "example": "1ed271bf-79d5-6dc2-b2a4-27367288a342"
                    },
                    "price": {
                      "$ref": "#/components/schemas/Credits"
                    }
                  },
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "402": {
            "$ref": "#/components/responses/402"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "439": {
            "$ref": "#/components/responses/439"
          }
        }
      }
    },
    "/images/orders/{id}": {
      "get": {
        "tags": [
          "Images"
        ],
        "summary": "Order information",
        "operationId": "imagesGetOrder",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Order ID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "example": "1ed271bf-79d5-6dc2-b2a4-27367288a342"
          }
        ],
        "responses": {
          "200": {
            "description": "Data for the requested order",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImagesOrder"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      }
    },
    "/ping": {
      "get": {
        "tags": [
          "General"
        ],
        "summary": "Check connection and authentication",
        "operationId": "ping",
        "responses": {
          "200": {
            "description": "If request is successful we return current timestamp",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "pong": {
                      "title": "Timestamp",
                      "type": "integer",
                      "example": 1312866614
                    }
                  },
                  "type": "object"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      }
    },
    "/portraits/generate": {
      "post": {
        "tags": [
          "Portraits HD"
        ],
        "summary": "Create portraits order",
        "operationId": "portraitsGenerate",
        "requestBody": {
          "description": "Parameters of the order",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "s3Url": {
                    "description": "Source image S3 URL",
                    "type": "string",
                    "format": "url",
                    "example": "s3://prod-incoming-saas-neural-love/f1bb412a20db/1ed71c42-2322-62dc-b332-3b2bd6c1f04e.jpg"
                  }
                },
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "If request is successful we return `orderId` that you can use to get status and results of the order. We also return `price` with amount of credits spent on this order",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "orderId": {
                      "title": "Order ID",
                      "type": "string",
                      "format": "uuid",
                      "example": "1ed271bf-79d5-6dc2-b2a4-27367288a342"
                    },
                    "price": {
                      "$ref": "#/components/schemas/Credits"
                    }
                  },
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "402": {
            "$ref": "#/components/responses/402"
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      }
    },
    "/portraits/orders/{id}": {
      "get": {
        "tags": [
          "Portraits HD"
        ],
        "summary": "Order information",
        "operationId": "portraitsGetOrder",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Order ID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "example": "1ed271bf-79d5-6dc2-b2a4-27367288a342"
          }
        ],
        "responses": {
          "200": {
            "description": "Data for the requested order",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PortraitsOrder"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      }
    },
    "/ai-art/estimate": {
      "post": {
        "tags": [
          "AI Art Generator"
        ],
        "summary": "Price estimation",
        "operationId": "aiArtEstimate",
        "requestBody": {
          "description": "Parameters of generation",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AiArtGenerateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "If generation is possible we return price estimation",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "price": {
                      "$ref": "#/components/schemas/Credits"
                    },
                    "details": {
                      "description": "Details of price compounds",
                      "type": "object",
                      "additionalProperties": {
                        "type": "integer"
                      }
                    }
                  },
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      }
    },
    "/ai-art/pack/estimate": {
      "post": {
        "tags": [
          "AI Art Packs Generation"
        ],
        "summary": "Price estimation for pack",
        "operationId": "aiArtPackEstimate",
        "requestBody": {
          "description": "Parameters of generation",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PackGenerateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "If generation is possible we return price estimation",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "price": {
                      "$ref": "#/components/schemas/Credits"
                    },
                    "details": {
                      "description": "Details of price compounds",
                      "type": "object",
                      "additionalProperties": {
                        "type": "integer"
                      }
                    }
                  },
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      }
    },
    "/ai-art/custom-model/estimate": {
      "post": {
        "tags": [
          "AI Art Custom Model Creator"
        ],
        "summary": "Custom Model training price estimation",
        "operationId": "aiArtCustomModelEstimate",
        "requestBody": {
          "description": "Parameters of generation",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DreamboothGenerateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "If training is possible we return price estimation",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "price": {
                      "$ref": "#/components/schemas/Credits"
                    }
                  },
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      }
    },
    "/upload": {
      "post": {
        "tags": [
          "Files upload"
        ],
        "summary": "Get presigned URL for file upload",
        "operationId": "filesUpload",
        "requestBody": {
          "description": "Parameters of the request",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UploadStartRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "You will get parameters that you will need to use for file upload",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "url": {
                      "title": "Presigned S3 URL",
                      "description": "You can use this URL to upload file. For example, usiong curl: `curl -X PUT -T photo1.jpg \"{url}\"`. URL will expire in 1 hour",
                      "type": "string",
                      "format": "url",
                      "example": "https://prod-incoming-saas-neural-love.s3-accelerate.amazonaws.com/f1bb412a20db/1ed71c42-2322-62dc-b332-3b2bd6c1f04e.png?x-amz-tagging=short-storage-time%3D1&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA6K2FDGHFCT2UAVAG%2F20221201%2Feu-central-1%2Fs3%2Faws4_request&X-Amz-Date=20221201T220431Z&X-Amz-SignedHeaders=host%3Bx-amz-tagging&X-Amz-Expires=3600&X-Amz-Signature=f97cbf1d14cacadd1bca44d173f575b3dece9bd9f532c0a0d484a42e0c5427a6"
                    },
                    "s3Url": {
                      "title": "S3 URL",
                      "description": "You will need this URL to pass to processing, this is the type of URL we expect from you when you order image processing or custom model training",
                      "type": "string",
                      "format": "url",
                      "example": "s3://prod-incoming-saas-neural-love/f1bb412a20db/1ed71c42-2322-62dc-b332-3b2bd6c1f04e.jpg"
                    }
                  },
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ArtStyleEnum": {
        "type": "string",
        "enum": [
          "painting",
          "fantasy",
          "anime",
          "cyberpunk",
          "nature",
          "steampunk",
          "sci-fi",
          "space",
          "creepy",
          "tattoo",
          "texture",
          "anything",
          "photo",
          "tarot",
          "impasto oil",
          "child drawing",
          "game loading screen",
          "saladwave",
          "woolworld",
          "synthwave",
          "midjourney",
          "xmas",
          "debug",
          "pixelart",
          "little story",
          "logo"
        ]
      },
      "AspectEnum": {
        "type": "string",
        "enum": [
          "square",
          "vertical",
          "horizontal"
        ]
      },
      "ModelClassEnum": {
        "type": "string",
        "enum": [
          "woman",
          "man",
          "other"
        ]
      },
      "Credits": {
        "title": "Credits object",
        "description": "Object represents Credits",
        "properties": {
          "amount": {
            "title": "Amount (string (sic!))",
            "type": "string",
            "example": "42"
          },
          "currency": {
            "title": "Currency",
            "description": "Always = \"CREDITS\"",
            "type": "string",
            "default": "CREDITS"
          }
        },
        "type": "object"
      },
      "EnrichedCredits": {
        "title": "Enriched credits object",
        "description": "Object represents Credits with additional data. Backwards compatible with Credits",
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/Credits"
          },
          {
            "properties": {
              "amount": {
                "title": "Amount (string (sic!))",
                "type": "string",
                "example": "42"
              },
              "currency": {
                "title": "Currency",
                "description": "Always = \"CREDITS\"",
                "type": "string",
                "default": "CREDITS"
              }
            },
            "type": "object"
          }
        ]
      },
      "LogoMakerColorEnum": {
        "type": "string",
        "enum": [
          "color",
          "monochrome"
        ]
      },
      "PackItem": {
        "properties": {
          "style": {
            "title": "Style",
            "description": "Please check /pack/{id}/styles request to get started with styles",
            "type": "string",
            "example": "3D: Anime"
          },
          "amount": {
            "title": "Amount of images for style",
            "type": "integer",
            "maximum": 50,
            "minimum": 1,
            "example": 1
          }
        },
        "type": "object"
      },
      "SamplerEnum": {
        "type": "string",
        "enum": [
          "ddim",
          "euler_a",
          "dpmpp_2s_a_k"
        ]
      },
      "AiArtGenerateRequest": {
        "title": "AI Art generation request",
        "description": "AI Art generation request model",
        "required": [
          "prompt",
          "style",
          "layout",
          "amount"
        ],
        "properties": {
          "prompt": {
            "title": "Prompt",
            "type": "string",
            "example": "a cat"
          },
          "seed": {
            "title": "Seed",
            "description": "You can specify seed or leave 0 for random",
            "type": "integer"
          },
          "imageUrl": {
            "title": "Image URL",
            "description": "Please see \"Files upload\" section of the documentation for information how to upload files and get S3 URLs",
            "type": "string",
            "example": "s3://prod-incoming-saas-neural-love/f1bb412a20db/1ed71c42-2322-62dc-b332-3b2bd6c1f04e.jpg"
          },
          "style": {
            "$ref": "#/components/schemas/ArtStyleEnum"
          },
          "layout": {
            "$ref": "#/components/schemas/AspectEnum"
          },
          "sampler": {
            "$ref": "#/components/schemas/SamplerEnum"
          },
          "amount": {
            "title": "Amount of generations",
            "type": "integer",
            "default": 4
          },
          "isPublic": {
            "title": "Generation publicity",
            "type": "boolean",
            "default": true
          },
          "isPriority": {
            "title": "Generate in priority queue",
            "type": "boolean",
            "default": false
          },
          "isHd": {
            "title": "HD mode",
            "type": "boolean",
            "default": false
          },
          "isTextToVideo": {
            "title": "Text to video",
            "type": "boolean",
            "default": false
          },
          "isImageToVideo": {
            "title": "Image to video",
            "type": "boolean",
            "default": false
          },
          "withRestyle": {
            "title": "Image to video with restyle step",
            "type": "boolean",
            "default": false
          },
          "model": {
            "title": "Use \"dalle-3\" to request DALL·E 3",
            "type": "string",
            "default": "default",
            "example": "dalle-3"
          },
          "steps": {
            "title": "Steps amount",
            "description": "Choose between 5 and 200. For Custom Model generations default should be 50.",
            "type": "integer",
            "default": 30
          },
          "cfgScale": {
            "title": "CFG scale",
            "description": "Choose between 3 and 15",
            "type": "number",
            "format": "float",
            "default": 7.5
          },
          "negativePrompt": {
            "title": "Negative Prompt",
            "type": "string"
          },
          "customModelId": {
            "title": "Custom model id (only for AI Custom Model service)",
            "type": "string"
          },
          "autoClean": {
            "title": "Auto-cleanup of prompt",
            "description": "Automatically remove blocked words from input to prevent errors 400",
            "type": "boolean",
            "default": false
          }
        },
        "type": "object"
      },
      "DreamboothGenerateRequest": {
        "title": "AI Custom Model generation request",
        "description": "AI Custom Model generation request model",
        "required": [
          "name",
          "class",
          "sources"
        ],
        "properties": {
          "name": {
            "title": "Model name",
            "type": "string",
            "example": "John v2"
          },
          "class": {
            "$ref": "#/components/schemas/ModelClassEnum"
          },
          "sources": {
            "title": "Array with image S3 URLs",
            "description": "Please see \"Files upload\" section of the documentation for information how to upload files and get S3 URLs",
            "type": "array",
            "items": {
              "type": "string",
              "example": "s3://prod-incoming-saas-neural-love/f1bb412a20db/1ed71c42-2322-62dc-b332-3b2bd6c1f04e.jpg"
            }
          }
        },
        "type": "object"
      },
      "LogoMakerGenerateRequest": {
        "title": "Logo Maker generation request",
        "description": "Logo Maker generation",
        "required": [
          "pack"
        ],
        "properties": {
          "brandName": {
            "title": "Brand name",
            "description": "Your business name",
            "type": "string"
          },
          "brandDescription": {
            "title": "Brand description",
            "description": "Your business description",
            "type": "string"
          },
          "color": {
            "$ref": "#/components/schemas/LogoMakerColorEnum"
          },
          "isIncludeBrandName": {
            "title": "Include brand name on the logo",
            "type": "boolean",
            "default": false
          },
          "pack": {
            "title": "Pack data",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PackItem"
            }
          }
        },
        "type": "object"
      },
      "PackGenerateRequest": {
        "title": "AI Art Pack generation request",
        "description": "AI Art Pack generation (many results for custom model)",
        "required": [
          "customModelId",
          "pack"
        ],
        "properties": {
          "seed": {
            "title": "Seed",
            "description": "You can specify seed or leave 0 for random",
            "type": "integer"
          },
          "isHd": {
            "title": "HD mode (highly recommended)",
            "type": "boolean",
            "default": false
          },
          "customModelId": {
            "title": "Custom model id",
            "type": "string",
            "example": "1ed7d2b3-b723-6132-94f3-7d62e181d3eb"
          },
          "pack": {
            "title": "Pack data",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PackItem"
            }
          },
          "isPriority": {
            "title": "Generate in priority queue",
            "type": "boolean",
            "default": false
          }
        },
        "type": "object"
      },
      "SearchRequest": {
        "title": "AI Art search request",
        "description": "Search through our public AI art database",
        "properties": {
          "query": {
            "title": "Search query",
            "type": "string",
            "example": "Fox"
          },
          "isHd": {
            "title": "Only HD",
            "type": "boolean"
          },
          "style": {
            "title": "Filter by style",
            "type": "string",
            "example": "painting"
          },
          "layout": {
            "title": "Filter by aspect ratio",
            "type": "string",
            "example": "square"
          },
          "minLikes": {
            "title": "Filter by minimal amount of likes",
            "type": "integer"
          },
          "likeThisId": {
            "title": "Return results like this",
            "type": "string"
          },
          "paginationToken": {
            "title": "Pagination token",
            "type": "string"
          }
        },
        "type": "object"
      },
      "ImagesProcessRequest": {
        "title": "Images processing request",
        "description": "Images enhancement processing",
        "required": [
          "files",
          "parameters"
        ],
        "properties": {
          "files": {
            "title": "Files",
            "type": "array",
            "items": {
              "type": "string",
              "example": "s3://prod-incoming-saas-neural-love/2020/3030.jpg"
            }
          },
          "parameters": {
            "title": "Parameters",
            "description": "Please specify parameters for processing. Check our guides for more information",
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/ImagesProcessRequestParameter"
            }
          }
        },
        "type": "object"
      },
      "ImagesProcessRequestParameter": {
        "title": "Image processing parameters set",
        "properties": {
          "id": {
            "title": "Model ID",
            "type": "string",
            "example": "1ed271bf-79d5-6dc2-b2a4-27367288a342"
          },
          "type": {
            "title": "Type",
            "description": "Used for easy model type identification. Here always \"ai-photostock-model\" (sic!)",
            "type": "string",
            "default": "ai-photostock-model"
          },
          "name": {
            "title": "Name",
            "description": "Model name",
            "type": "string",
            "example": "My cat"
          },
          "dateCreated": {
            "title": "Creation Date",
            "description": "Model date creation",
            "example": 1661723659
          },
          "sortBy": {
            "title": "Sorting string",
            "description": "String used to sort models alphabetically",
            "type": "string",
            "example": "2022-08-28T21:55:09Z"
          },
          "status": {
            "title": "Status",
            "description": "Model status",
            "properties": {
              "code": {
                "description": "Status code. `0` or `50` - training, `250` - ready, `999` - error",
                "type": "integer",
                "enum": [0, 50, 250, 999]
              },
              "text": {
                "description": "Status text",
                "type": "string",
                "example": "Training..."
              },
              "level": {
                "description": "Internal parameter",
                "type": "string",
                "enum": [
                  "info",
                  "success",
                  "warning",
                  "error"
                ]
              },
              "isReady": {
                "description": "Whether model is ready",
                "type": "boolean"
              }
            },
            "type": "object"
          },
          "access": {
            "title": "Access",
            "properties": {
              "canRemove": {
                "type": "boolean",
                "default": false
              },
              "canUse": {
                "type": "boolean",
                "default": false
              }
            },
            "type": "object"
          }
        },
        "type": "object"
      },
      "UploadStartRequest": {
        "title": "Get information for file upload",
        "description": "Request to get necessary information to perform file upload",
        "required": [
          "extension",
          "contentType",
          "batchId"
        ],
        "properties": {
          "extension": {
            "title": "File extension",
            "type": "string",
            "example": "jpg"
          },
          "contentType": {
            "title": "File MIME-type",
            "type": "string",
            "example": "image/jpeg"
          },
          "batchId": {
            "title": "Batch ID",
            "description": "This field is no longer needed",
            "type": "string",
            "deprecated": true
          }
        },
        "type": "object"
      },
      "AiArtOrder": {
        "title": "AI Art Order",
        "description": "AI Art Order model",
        "properties": {
          "id": {
            "title": "Order ID",
            "type": "string",
            "example": "1ed271bf-79d5-6dc2-b2a4-27367288a342"
          },
          "type": {
            "title": "Type",
            "description": "Used for easy order type identification. Here always \"ai-photostock\" (sic!)",
            "type": "string",
            "default": "ai-photostock"
          },
          "name": {
            "title": "Name",
            "description": "Order name",
            "type": "string",
            "example": "A cat"
          },
          "slug": {
            "title": "URL Slug",
            "description": "Slug used to construct order URL",
            "type": "string",
            "example": "a-cat"
          },
          "dateCreated": {
            "title": "Creation Date",
            "description": "Order date creation",
            "example": 1661723659
          },
          "sortBy": {
            "title": "Sorting string",
            "description": "String used to sort orders alphabetically",
            "type": "string",
            "example": "2022-08-28T21:55:09Z"
          },
          "status": {
            "title": "Status",
            "description": "Order status",
            "properties": {
              "code": {
                "description": "Status code. `0` or `50` - processing, `250` - ready, `998` - error, `999` - error",
                "type": "integer",
                "enum": [0, 25, 50, 250, 998, 999]
              },
              "text": {
                "description": "Status text",
                "type": "string",
                "example": "AI art generating..."
              },
              "level": {
                "description": "Internal parameter",
                "type": "string",
                "enum": [
                  "info",
                  "success",
                  "warning",
                  "error"
                ]
              },
              "isReady": {
                "description": "Whether order is ready",
                "type": "boolean"
              }
            },
            "type": "object"
          },
          "input": {
            "$ref": "#/components/schemas/AiArtOrderInputItem"
          },
          "output": {
            "title": "Output data",
            "description": "Output data",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AiArtOrderOutputItem"
            }
          },
          "thumbnails": {
            "title": "Thumbnails",
            "description": "Thumbnails (max. 3)",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AiArtOrderThumbnail"
            }
          },
          "isPack": {
            "title": "Is order a pack order?",
            "type": "boolean"
          },
          "rating": {
            "title": "Rating",
            "description": "Rating information",
            "properties": {
              "total": {
                "description": "Rating",
                "type": "integer",
                "example": 42
              }
            },
            "type": "object"
          },
          "availabilityStatus": {
            "title": "Internal parameter. Do not use",
            "type": "integer"
          },
          "availableUntil": {
            "title": "Internal parameter. Do not use",
            "type": "integer"
          },
          "access": {
            "title": "Access",
            "properties": {
              "canRemove": {
                "type": "boolean",
                "default": false
              },
              "canFeedback": {
                "type": "boolean",
                "default": false
              }
            },
            "type": "object"
          }
        },
        "type": "object"
      },
      "AiArtOrderInputItem": {
        "title": "AI Art Order Input item",
        "description": "AI Art Order Input item",
        "properties": {
          "prompt": {
            "title": "Prompt",
            "type": "string",
            "example": "a cat"
          },
          "style": {
            "$ref": "#/components/schemas/ArtStyleEnum"
          },
          "layout": {
            "$ref": "#/components/schemas/AspectEnum"
          },
          "sampler": {
            "title": "Sampler of the diffusion process",
            "example": "ddim"
          },
          "modelVersion": {
            "title": "Used model version",
            "example": "sd-1.5"
          },
          "amount": {
            "title": "Amount of generations",
            "type": "integer",
            "default": 1
          },
          "isPublic": {
            "title": "Whether to make result available to everyone",
            "type": "boolean",
            "default": true
          },
          "isPriority": {
            "title": "Whether to send to a priority queue",
            "type": "boolean",
            "default": false,
            "deprecated": true
          },
          "hasImage": {
            "title": "Whether input has user-uploaded image",
            "type": "boolean"
          },
          "isHd": {
            "title": "If generated with HD mode",
            "type": "boolean"
          },
          "augmentedPrompt": {
            "title": "Augmented Prompt",
            "type": "string",
            "example": "a very very very beautiful cat"
          },
          "negativePrompt": {
            "title": "Negative Prompt",
            "type": "string",
            "example": "a dog"
          },
          "steps": {
            "title": "Steps",
            "type": "string",
            "example": 25
          },
          "cfgScale": {
            "title": "CFG scale",
            "type": "number",
            "format": "float",
            "example": 7.5
          },
          "seed": {
            "title": "Seed",
            "type": "string",
            "example": 42
          },
          "customModelName": {
            "title": "Custom Model Name",
            "type": "string"
          }
        },
        "type": "object"
      },
      "AiArtOrderOutputItem": {
        "title": "AI Art Order Output item",
        "description": "AI Art Order Output item",
        "properties": {
          "id": {
            "title": "Item ID",
            "description": "ID of item inside the order",
            "type": "integer"
          },
          "type": {
            "title": "Type",
            "description": "Used for easy output type identification. Here always \"4\"",
            "type": "integer",
            "default": 4
          },
          "isNsfw": {
            "title": "Is NSFW",
            "description": "Whether the output item is marked as NSFW",
            "type": "boolean",
            "default": false
          },
          "caption": {
            "title": "Caption",
            "description": "AI-generated caption for this picture",
            "type": "string",
            "default": ""
          },
          "full": {
            "title": "Image URL",
            "description": "Link to the result image. This link has an expiration date at the end of next day",
            "type": "string"
          },
          "style": {
            "title": "Style (if pack was ordered)",
            "type": "string",
            "default": ""
          },
          "preview": {
            "title": "Not used",
            "description": "Do not use this parameter",
            "type": "string"
          }
        },
        "type": "object"
      },
      "AiArtOrderThumbnail": {
        "title": "AI Art Order Thumbnail item",
        "description": "AI Art Order Thumbnail item",
        "properties": {
          "url": {
            "title": "URL",
            "description": "Link to the thumbnail image. This link has an expiration date at the end of next day",
            "type": "string"
          },
          "width": {
            "title": "Width",
            "type": "integer",
            "default": 400
          },
          "height": {
            "title": "Height",
            "type": "integer",
            "default": 400
          }
        },
        "type": "object"
      },
      "CustomModel": {
        "title": "AI Art Custom Model",
        "description": "AI Art Custom Model",
        "properties": {
          "id": {
            "title": "Model ID",
            "type": "string",
            "example": "1ed271bf-79d5-6dc2-b2a4-27367288a342"
          },
          "type": {
            "title": "Type",
            "description": "Used for easy model type identification. Here always \"ai-photostock-model\" (sic!)",
            "type": "string",
            "default": "ai-photostock-model"
          },
          "name": {
            "title": "Name",
            "description": "Model name",
            "type": "string",
            "example": "My cat"
          },
          "dateCreated": {
            "title": "Creation Date",
            "description": "Model date creation",
            "example": 1661723659
          },
          "sortBy": {
            "title": "Sorting string",
            "description": "String used to sort models alphabetically",
            "type": "string",
            "example": "2022-08-28T21:55:09Z"
          },
          "status": {
            "title": "Status",
            "description": "Model status",
            "properties": {
              "code": {
                "description": "Status code. `0` or `50` - training, `250` - ready, `999` - error",
                "type": "integer",
                "enum": [0, 50, 250, 999]
              },
              "text": {
                "description": "Status text",
                "type": "string",
                "example": "Training..."
              },
              "level": {
                "description": "Internal parameter",
                "type": "string",
                "enum": [
                  "info",
                  "success",
                  "warning",
                  "error"
                ]
              },
              "isReady": {
                "description": "Whether model is ready",
                "type": "boolean"
              }
            },
            "type": "object"
          },
          "access": {
            "title": "Access",
            "properties": {
              "canRemove": {
                "type": "boolean",
                "default": false
              },
              "canUse": {
                "type": "boolean",
                "default": false
              }
            },
            "type": "object"
          }
        },
        "type": "object"
      },
      "ImageOrderResult": {
        "title": "Images Order Result item",
        "properties": {
          "full": {
            "title": "Full image URL",
            "type": "string"
          },
          "preview": {
            "title": "Preview image URL",
            "type": "string"
          },
          "source": {
            "title": "Source image URL",
            "type": "string"
          },
          "name": {
            "title": "Image name (if exists)",
            "type": "string"
          }
        },
        "type": "object"
      },
      "ImageOrderThumbnail": {
        "title": "Images Order Thumbnail item",
        "properties": {
          "url": {
            "title": "URL",
            "description": "Link to the thumbnail image. This link has an expiration date at the end of next day",
            "type": "string"
          },
          "width": {
            "title": "Width",
            "type": "integer",
            "default": 400
          },
          "height": {
            "title": "Height",
            "type": "integer",
            "default": 400
          }
        },
        "type": "object"
      },
      "ImagesOrder": {
        "title": "Images Order",
        "description": "Images Order",
        "properties": {
          "id": {
            "title": "Order ID",
            "type": "string",
            "example": "1ed271bf-79d5-6dc2-b2a4-27367288a342"
          },
          "type": {
            "title": "Type",
            "description": "Used for easy order type identification. Here always \"image\"",
            "type": "string",
            "default": "image"
          },
          "name": {
            "title": "Name",
            "description": "Order name",
            "type": "string"
          },
          "dateCreated": {
            "title": "Creation Date",
            "description": "Order date creation",
            "example": 1661723659
          },
          "sortBy": {
            "title": "Sorting string",
            "description": "String used to sort orders alphabetically",
            "type": "string",
            "example": "2022-08-28T21:55:09Z"
          },
          "userId": {
            "title": "User ID",
            "description": "Owner's account id",
            "type": "string",
            "example": "12e247a2-f7ef-477d-a5a8-8bdde7b5b356"
          },
          "isDeletable": {
            "title": "Is deletable",
            "description": "Not used in API",
            "type": "boolean"
          },
          "status": {
            "title": "Status",
            "description": "Order status",
            "properties": {
              "code": {
                "description": "Status code. `0`, `50` or `100` - processing, `250` - ready, `999` - error",
                "type": "integer",
                "enum": [0, 50, 100, 250, 999]
              },
              "text": {
                "description": "Status text",
                "type": "string",
                "example": "Processing..."
              },
              "level": {
                "description": "Internal parameter",
                "type": "string",
                "enum": [
                  "info",
                  "success",
                  "warning",
                  "error"
                ]
              },
              "isReady": {
                "description": "Whether order is ready",
                "type": "boolean"
              }
            },
            "type": "object"
          },
          "hasZip": {
            "title": "Internal parameter",
            "type": "boolean"
          },
          "scopeOfWork": {
            "title": "Processing parameters in internal format",
            "type": "array",
            "items": {

            }
          },
          "thumbnails": {
            "title": "Thumbnails",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ImageOrderThumbnail"
            }
          },
          "files": {
            "title": "Files (results)",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ImageOrderResult"
            }
          },
          "availabilityStatus": {
            "title": "Internal parameter. Do not use",
            "type": "integer"
          },
          "availableUntil": {
            "title": "Internal parameter. Do not use",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "PortraitsOrder": {
        "title": "Portraits Order",
        "description": "Portraits Order model",
        "properties": {
          "id": {
            "title": "Order ID",
            "type": "string",
            "example": "1ed271bf-79d5-6dc2-b2a4-27367288a342"
          },
          "type": {
            "title": "Type",
            "description": "Used for easy order type identification. Here always \"portrait\"",
            "type": "string",
            "default": "portrait"
          },
          "dateCreated": {
            "title": "Creation Date",
            "description": "Order date creation",
            "example": 1661723659
          },
          "sortBy": {
            "title": "Sorting string",
            "description": "String used to sort orders alphabetically",
            "type": "string",
            "example": "2022-08-28T21:55:09Z"
          },
          "userId": {
            "title": "User ID",
            "description": "Creator ID",
            "type": "string",
            "example": "3d3b8d0f-6e5a-40cb-a16c-de5ec5bc45e5"
          },
          "isDeletable": {
            "title": "Is deletable",
            "description": "Is the order can be deleted",
            "type": "boolean"
          },
          "status": {
            "title": "Status",
            "description": "Order status",
            "properties": {
              "code": {
                "description": "Status code. `0` or `50` - processing, `250` - ready, `999` - error",
                "type": "integer",
                "enum": [0, 50, 250, 999]
              },
              "text": {
                "description": "Status text",
                "type": "string",
                "example": "Portrait generating..."
              },
              "level": {
                "description": "Internal parameter",
                "type": "string",
                "enum": [
                  "info",
                  "success",
                  "warning",
                  "error"
                ]
              },
              "isReady": {
                "description": "Whether order is ready",
                "type": "boolean"
              }
            },
            "type": "object"
          },
          "thumbnail": {
            "$ref": "#/components/schemas/AiArtOrderThumbnail"
          },
          "source": {
            "title": "URL to the source image",
            "description": "URL to the source image, This link has an expiration date at the end of next day",
            "type": "string"
          },
          "portrait": {
            "title": "Resulting image",
            "description": "URL to the full resolution resulting image, This link has an expiration date at the end of next day",
            "type": "string"
          },
          "result": {
            "title": "Internal parameter. Do not use",
            "type": "object"
          },
          "availabilityStatus": {
            "title": "Internal parameter. Do not use",
            "type": "integer"
          },
          "availableUntil": {
            "title": "Internal parameter. Do not use",
            "type": "integer"
          }
        },
        "type": "object"
      }
    },
    "responses": {
      "400": {
        "description": "General validation or format error",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/responses/429/content/application~1json/schema"
            }
          }
        }
      },
      "401": {
        "description": "Authentication problem, please check your access token",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/responses/429/content/application~1json/schema"
            }
          }
        }
      },
      "402": {
        "description": "Not enough credits. Please top-up credits balance via web-interface",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/responses/429/content/application~1json/schema"
            }
          }
        }
      },
      "403": {
        "description": "Access denied. Probably you are trying to access removed or resource that belongs to other account",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/responses/429/content/application~1json/schema"
            }
          }
        }
      },
      "404": {
        "description": "Not found",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/responses/429/content/application~1json/schema"
            }
          }
        }
      },
      "429": {
        "description": "Too many requests. Rate limit is 300 reqs per 5 minutes. Please wait before you make another request",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "format": "uri",
                  "description": "An absolute URI that identifies the problem type.  When dereferenced,\nit SHOULD provide human-readable documentation for the problem type\n(e.g., using HTML).\n",
                  "default": "about:blank",
                  "example": "https://zalando.github.io/problem/constraint-violation"
                },
                "title": {
                  "type": "string",
                  "description": "A short, summary of the problem type. Written in english and readable\nfor engineers (usually not suited for non technical stakeholders and\nnot localized); example: Service Unavailable\n"
                },
                "status": {
                  "type": "integer",
                  "format": "int32",
                  "description": "The HTTP status code generated by the origin server for this occurrence\nof the problem.\n",
                  "minimum": 100,
                  "maximum": 600,
                  "exclusiveMaximum": true,
                  "example": 503
                },
                "detail": {
                  "type": "string",
                  "description": "A human readable explanation specific to this occurrence of the\nproblem.\n",
                  "example": "Connection to database timed out"
                },
                "instance": {
                  "type": "string",
                  "format": "uri",
                  "description": "An absolute URI that identifies the specific occurrence of the problem.\nIt may or may not yield further information if dereferenced.\n"
                }
              }
            }
          }
        }
      },
      "439": {
        "description": "You've reached a limit for simultaneous processing. Please activate HD or Private mode",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/responses/429/content/application~1json/schema"
            }
          }
        }
      }
    },
    "securitySchemes": {
      "GeneralAuthentication": {
        "type": "http",
        "description": "Get your API key at [https://neural.love](https://neural.love)",
        "scheme": "bearer"
      }
    }
  },
  "security": [
    {
      "GeneralAuthentication": []
    }
  ],
  "tags": [
    {
      "name": "AI Art Generator",
      "description": "AI Art Generator feature",
      "externalDocs": {
        "description": "Try it via web-interface",
        "url": "https://neural.love/ai-art-generator"
      }
    },
    {
      "name": "AI Art Custom Model Creator",
      "description": "AI Art Custom Model Creator",
      "externalDocs": {
        "description": "Try it via web-interface",
        "url": "https://neural.love/ai-art-generator"
      }
    }
  ],
  "externalDocs": {
    "url": "https://docs.neural.love/"
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}

LEAVE A RESPONSE

O seu endereço de email não será publicado. Campos obrigatórios marcados com *

Translate »