summaryrefslogtreecommitdiff
path: root/data/aigen/2024-01-11/api-docs.php
diff options
context:
space:
mode:
Diffstat (limited to 'data/aigen/2024-01-11/api-docs.php')
-rw-r--r--data/aigen/2024-01-11/api-docs.php180
1 files changed, 0 insertions, 180 deletions
diff --git a/data/aigen/2024-01-11/api-docs.php b/data/aigen/2024-01-11/api-docs.php
deleted file mode 100644
index 0f46c57..0000000
--- a/data/aigen/2024-01-11/api-docs.php
+++ /dev/null
@@ -1,180 +0,0 @@
-<?php return [
- 'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'aigen',
- 'version' => '2024-01-11',
- ],
- 'components' => [
- 'schemas' => [],
- ],
- 'apis' => [
- 'GenerateCosplayImage' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'FaceImageUrl',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'TemplateImageUrl',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'Style',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
- ],
- ],
- ],
- 'InteractiveFullSegmentation' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'ImageUrl',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'ReturnFormat',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'InteractiveScribbleSegmentation' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'ImageUrl',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'MaskImageUrl',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'PosScribbleImageUrl',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'NegScribbleImageUrl',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'IntegratedMaskUrl',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'ReturnForm',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'ReturnFormat',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'EdgeFeathering',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'PostprocessOption',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- ],
- 'endpoints' => [
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'aigen.cn-shanghai.aliyuncs.com',
- ],
- ],
-];