@picteus/extension-sdk 0.4.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/picteus-ws-client/apis/AdministrationApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/AdministrationApi.js +1 -1
- package/dist/picteus-ws-client/apis/ApiSecretApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/ApiSecretApi.js +1 -1
- package/dist/picteus-ws-client/apis/ExtensionApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/ExtensionApi.js +1 -1
- package/dist/picteus-ws-client/apis/ImageApi.d.ts +29 -2
- package/dist/picteus-ws-client/apis/ImageApi.js +33 -2
- package/dist/picteus-ws-client/apis/ImageAttachmentApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/ImageAttachmentApi.js +1 -1
- package/dist/picteus-ws-client/apis/MiscellaneousApi.d.ts +2 -2
- package/dist/picteus-ws-client/apis/MiscellaneousApi.js +1 -1
- package/dist/picteus-ws-client/apis/RepositoryApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/RepositoryApi.js +1 -1
- package/dist/picteus-ws-client/apis/SettingsApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/SettingsApi.js +1 -1
- package/dist/picteus-ws-client/models/ApiSecret.d.ts +2 -2
- package/dist/picteus-ws-client/models/ApiSecret.js +1 -1
- package/dist/picteus-ws-client/models/ApiSecretSummary.d.ts +2 -2
- package/dist/picteus-ws-client/models/ApiSecretSummary.js +1 -1
- package/dist/picteus-ws-client/models/ApiSecretType.d.ts +1 -1
- package/dist/picteus-ws-client/models/ApiSecretType.js +1 -1
- package/dist/picteus-ws-client/models/Automatic1111Instruction.d.ts +1 -1
- package/dist/picteus-ws-client/models/Automatic1111Instruction.js +1 -1
- package/dist/picteus-ws-client/models/Automatic1111UserComment.d.ts +1 -1
- package/dist/picteus-ws-client/models/Automatic1111UserComment.js +1 -1
- package/dist/picteus-ws-client/models/ComfyUiPromptAndWorkflow.d.ts +1 -1
- package/dist/picteus-ws-client/models/ComfyUiPromptAndWorkflow.js +1 -1
- package/dist/picteus-ws-client/models/CommandEntity.d.ts +1 -1
- package/dist/picteus-ws-client/models/CommandEntity.js +1 -1
- package/dist/picteus-ws-client/models/ComputedImageFormat.d.ts +2 -2
- package/dist/picteus-ws-client/models/ComputedImageFormat.js +1 -1
- package/dist/picteus-ws-client/models/ConfigurationCapability.d.ts +2 -2
- package/dist/picteus-ws-client/models/ConfigurationCapability.js +1 -1
- package/dist/picteus-ws-client/models/ConfigurationExtensionCommand.d.ts +2 -2
- package/dist/picteus-ws-client/models/ConfigurationExtensionCommand.js +1 -1
- package/dist/picteus-ws-client/models/Dates.d.ts +2 -2
- package/dist/picteus-ws-client/models/Dates.js +1 -1
- package/dist/picteus-ws-client/models/Extension.d.ts +2 -2
- package/dist/picteus-ws-client/models/Extension.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionActivity.d.ts +2 -2
- package/dist/picteus-ws-client/models/ExtensionActivity.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionActivityKind.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionActivityKind.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionAndManual.d.ts +2 -2
- package/dist/picteus-ws-client/models/ExtensionAndManual.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionGenerationOptions.d.ts +2 -2
- package/dist/picteus-ws-client/models/ExtensionGenerationOptions.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageEmbeddings.d.ts +2 -2
- package/dist/picteus-ws-client/models/ExtensionImageEmbeddings.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageFeature.d.ts +2 -2
- package/dist/picteus-ws-client/models/ExtensionImageFeature.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageTag.d.ts +2 -2
- package/dist/picteus-ws-client/models/ExtensionImageTag.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionManual.d.ts +2 -2
- package/dist/picteus-ws-client/models/ExtensionManual.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionSettings.d.ts +2 -2
- package/dist/picteus-ws-client/models/ExtensionSettings.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionStatus.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionStatus.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionsConfiguration.d.ts +2 -2
- package/dist/picteus-ws-client/models/ExtensionsConfiguration.js +1 -1
- package/dist/picteus-ws-client/models/GenerationRecipe.d.ts +69 -0
- package/dist/picteus-ws-client/models/GenerationRecipe.js +56 -0
- package/dist/picteus-ws-client/models/GenerationRecipePrompt.d.ts +22 -0
- package/dist/picteus-ws-client/models/GenerationRecipePrompt.js +44 -0
- package/dist/picteus-ws-client/models/Image.d.ts +2 -2
- package/dist/picteus-ws-client/models/Image.js +1 -1
- package/dist/picteus-ws-client/models/ImageDimensions.d.ts +2 -2
- package/dist/picteus-ws-client/models/ImageDimensions.js +1 -1
- package/dist/picteus-ws-client/models/ImageDistance.d.ts +2 -2
- package/dist/picteus-ws-client/models/ImageDistance.js +1 -1
- package/dist/picteus-ws-client/models/ImageEmbeddings.d.ts +2 -2
- package/dist/picteus-ws-client/models/ImageEmbeddings.js +1 -1
- package/dist/picteus-ws-client/models/ImageFeature.d.ts +2 -2
- package/dist/picteus-ws-client/models/ImageFeature.js +1 -1
- package/dist/picteus-ws-client/models/ImageFeatureFormat.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageFeatureFormat.js +1 -1
- package/dist/picteus-ws-client/models/ImageFeatureType.d.ts +2 -1
- package/dist/picteus-ws-client/models/ImageFeatureType.js +2 -1
- package/dist/picteus-ws-client/models/ImageFormat.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageFormat.js +1 -1
- package/dist/picteus-ws-client/models/ImageGenerator.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageGenerator.js +1 -1
- package/dist/picteus-ws-client/models/ImageMediaUrl.d.ts +2 -2
- package/dist/picteus-ws-client/models/ImageMediaUrl.js +1 -1
- package/dist/picteus-ws-client/models/ImageMetadata.d.ts +2 -2
- package/dist/picteus-ws-client/models/ImageMetadata.js +1 -1
- package/dist/picteus-ws-client/models/ImageResizeRender.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageResizeRender.js +1 -1
- package/dist/picteus-ws-client/models/ImageSummary.d.ts +2 -2
- package/dist/picteus-ws-client/models/ImageSummary.js +1 -1
- package/dist/picteus-ws-client/models/ImageSummaryList.d.ts +2 -2
- package/dist/picteus-ws-client/models/ImageSummaryList.js +1 -1
- package/dist/picteus-ws-client/models/Manifest.d.ts +2 -2
- package/dist/picteus-ws-client/models/Manifest.js +1 -1
- package/dist/picteus-ws-client/models/ManifestCapability.d.ts +2 -2
- package/dist/picteus-ws-client/models/ManifestCapability.js +1 -1
- package/dist/picteus-ws-client/models/ManifestCapabilityId.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestCapabilityId.js +1 -1
- package/dist/picteus-ws-client/models/ManifestEvent.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestEvent.js +1 -1
- package/dist/picteus-ws-client/models/ManifestExecution.d.ts +2 -2
- package/dist/picteus-ws-client/models/ManifestExecution.js +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommand.d.ts +2 -2
- package/dist/picteus-ws-client/models/ManifestExtensionCommand.js +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommandOn.d.ts +2 -2
- package/dist/picteus-ws-client/models/ManifestExtensionCommandOn.js +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommandSpecification.d.ts +2 -2
- package/dist/picteus-ws-client/models/ManifestExtensionCommandSpecification.js +1 -1
- package/dist/picteus-ws-client/models/ManifestInstructions.d.ts +2 -2
- package/dist/picteus-ws-client/models/ManifestInstructions.js +1 -1
- package/dist/picteus-ws-client/models/ManifestInterfaceElement.d.ts +2 -2
- package/dist/picteus-ws-client/models/ManifestInterfaceElement.js +1 -1
- package/dist/picteus-ws-client/models/ManifestRuntime.d.ts +2 -2
- package/dist/picteus-ws-client/models/ManifestRuntime.js +1 -1
- package/dist/picteus-ws-client/models/ManifestRuntimeEnvironment.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestRuntimeEnvironment.js +1 -1
- package/dist/picteus-ws-client/models/ManifestUserInterface.d.ts +2 -2
- package/dist/picteus-ws-client/models/ManifestUserInterface.js +1 -1
- package/dist/picteus-ws-client/models/MidjourneyInstructions.d.ts +1 -1
- package/dist/picteus-ws-client/models/MidjourneyInstructions.js +1 -1
- package/dist/picteus-ws-client/models/Repository.d.ts +2 -2
- package/dist/picteus-ws-client/models/Repository.js +1 -1
- package/dist/picteus-ws-client/models/RepositoryActivity.d.ts +2 -2
- package/dist/picteus-ws-client/models/RepositoryActivity.js +1 -1
- package/dist/picteus-ws-client/models/RepositoryActivityKind.d.ts +1 -1
- package/dist/picteus-ws-client/models/RepositoryActivityKind.js +1 -1
- package/dist/picteus-ws-client/models/RepositoryLocationType.d.ts +2 -2
- package/dist/picteus-ws-client/models/RepositoryLocationType.js +2 -2
- package/dist/picteus-ws-client/models/RepositoryStatus.d.ts +1 -1
- package/dist/picteus-ws-client/models/RepositoryStatus.js +1 -1
- package/dist/picteus-ws-client/models/SearchCriteria.d.ts +2 -2
- package/dist/picteus-ws-client/models/SearchCriteria.js +1 -1
- package/dist/picteus-ws-client/models/SearchKeyword.d.ts +2 -2
- package/dist/picteus-ws-client/models/SearchKeyword.js +1 -1
- package/dist/picteus-ws-client/models/SearchProperties.d.ts +2 -2
- package/dist/picteus-ws-client/models/SearchProperties.js +1 -1
- package/dist/picteus-ws-client/models/SearchPropertyRange.d.ts +2 -2
- package/dist/picteus-ws-client/models/SearchPropertyRange.js +1 -1
- package/dist/picteus-ws-client/models/SearchRange.d.ts +2 -2
- package/dist/picteus-ws-client/models/SearchRange.js +1 -1
- package/dist/picteus-ws-client/models/SearchSorting.d.ts +2 -2
- package/dist/picteus-ws-client/models/SearchSorting.js +1 -1
- package/dist/picteus-ws-client/models/SearchSortingProperty.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchSortingProperty.js +1 -1
- package/dist/picteus-ws-client/models/SearchTags.d.ts +2 -2
- package/dist/picteus-ws-client/models/SearchTags.js +1 -1
- package/dist/picteus-ws-client/models/Settings.d.ts +2 -2
- package/dist/picteus-ws-client/models/Settings.js +1 -1
- package/dist/picteus-ws-client/models/TextualPrompt.d.ts +32 -0
- package/dist/picteus-ws-client/models/TextualPrompt.js +43 -0
- package/dist/picteus-ws-client/models/UserInterfaceAnchor.d.ts +1 -1
- package/dist/picteus-ws-client/models/UserInterfaceAnchor.js +1 -1
- package/dist/picteus-ws-client/models/index.d.ts +3 -0
- package/dist/picteus-ws-client/models/index.js +3 -0
- package/dist/picteus-ws-client/runtime.d.ts +1 -1
- package/dist/picteus-ws-client/runtime.js +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Picteus
|
|
3
3
|
* The Picteus API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.5.1
|
|
6
6
|
* Contact: edouard@koppasoft.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { ManifestRuntimeEnvironment } from './ManifestRuntimeEnvironment.js';
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* The options for generating an extension
|
|
15
15
|
* @export
|
|
16
16
|
* @interface ExtensionGenerationOptions
|
|
17
17
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Picteus
|
|
3
3
|
* The Picteus API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.5.1
|
|
6
6
|
* Contact: edouard@koppasoft.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Multiple vectorial representations of an image
|
|
14
14
|
* @export
|
|
15
15
|
* @interface ExtensionImageEmbeddings
|
|
16
16
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Picteus
|
|
3
3
|
* The Picteus API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.5.1
|
|
6
6
|
* Contact: edouard@koppasoft.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import type { ImageFeatureFormat } from './ImageFeatureFormat.js';
|
|
13
13
|
import type { ImageFeatureType } from './ImageFeatureType.js';
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* The image features, along with its extension identifier
|
|
16
16
|
* @export
|
|
17
17
|
* @interface ExtensionImageFeature
|
|
18
18
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Picteus
|
|
3
3
|
* The Picteus API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.5.1
|
|
6
6
|
* Contact: edouard@koppasoft.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* A tag on an image for a given extension
|
|
14
14
|
* @export
|
|
15
15
|
* @interface ExtensionImageTag
|
|
16
16
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Picteus
|
|
3
3
|
* The Picteus API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.5.1
|
|
6
6
|
* Contact: edouard@koppasoft.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* The instructions of an extension
|
|
14
14
|
* @export
|
|
15
15
|
* @interface ExtensionManual
|
|
16
16
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Picteus
|
|
3
3
|
* The Picteus API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.5.1
|
|
6
6
|
* Contact: edouard@koppasoft.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* The settings of an extension
|
|
14
14
|
* @export
|
|
15
15
|
* @interface ExtensionSettings
|
|
16
16
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Picteus
|
|
3
3
|
* The Picteus API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.5.1
|
|
6
6
|
* Contact: edouard@koppasoft.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import type { ConfigurationExtensionCommand } from './ConfigurationExtensionCommand.js';
|
|
13
13
|
import type { ConfigurationCapability } from './ConfigurationCapability.js';
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* The extensions' configuration in respect of their capabilities and commands
|
|
16
16
|
* @export
|
|
17
17
|
* @interface ExtensionsConfiguration
|
|
18
18
|
*/
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Picteus
|
|
3
|
+
* The Picteus API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.5.1
|
|
6
|
+
* Contact: edouard@koppasoft.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { GenerationRecipePrompt } from './GenerationRecipePrompt.js';
|
|
13
|
+
/**
|
|
14
|
+
* The image generation recipe
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GenerationRecipe
|
|
17
|
+
*/
|
|
18
|
+
export interface GenerationRecipe {
|
|
19
|
+
/**
|
|
20
|
+
* The identifier of the recipe instance
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof GenerationRecipe
|
|
23
|
+
*/
|
|
24
|
+
id?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The URL of the recipe instance
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof GenerationRecipe
|
|
29
|
+
*/
|
|
30
|
+
url?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The tags of the model generators
|
|
33
|
+
* @type {Array<string>}
|
|
34
|
+
* @memberof GenerationRecipe
|
|
35
|
+
*/
|
|
36
|
+
modelTags: Array<string>;
|
|
37
|
+
/**
|
|
38
|
+
* The software that ran the generation
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof GenerationRecipe
|
|
41
|
+
*/
|
|
42
|
+
software?: string;
|
|
43
|
+
/**
|
|
44
|
+
* The identifiers or URLs of the input assets
|
|
45
|
+
* @type {Array<string>}
|
|
46
|
+
* @memberof GenerationRecipe
|
|
47
|
+
*/
|
|
48
|
+
inputAssets?: Array<string>;
|
|
49
|
+
/**
|
|
50
|
+
* The required image aspect ratio, i.e. the result of its width by its height
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof GenerationRecipe
|
|
53
|
+
*/
|
|
54
|
+
aspectRatio?: number;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {GenerationRecipePrompt}
|
|
58
|
+
* @memberof GenerationRecipe
|
|
59
|
+
*/
|
|
60
|
+
prompt?: GenerationRecipePrompt;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Check if a given object implements the GenerationRecipe interface.
|
|
64
|
+
*/
|
|
65
|
+
export declare function instanceOfGenerationRecipe(value: object): value is GenerationRecipe;
|
|
66
|
+
export declare function GenerationRecipeFromJSON(json: any): GenerationRecipe;
|
|
67
|
+
export declare function GenerationRecipeFromJSONTyped(json: any, ignoreDiscriminator: boolean): GenerationRecipe;
|
|
68
|
+
export declare function GenerationRecipeToJSON(json: any): GenerationRecipe;
|
|
69
|
+
export declare function GenerationRecipeToJSONTyped(value?: GenerationRecipe | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Picteus
|
|
5
|
+
* The Picteus API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.5.1
|
|
8
|
+
* Contact: edouard@koppasoft.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { GenerationRecipePromptFromJSON, GenerationRecipePromptToJSON, } from './GenerationRecipePrompt.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the GenerationRecipe interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfGenerationRecipe(value) {
|
|
19
|
+
if (!('modelTags' in value) || value['modelTags'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function GenerationRecipeFromJSON(json) {
|
|
24
|
+
return GenerationRecipeFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function GenerationRecipeFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
32
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
33
|
+
'modelTags': json['modelTags'],
|
|
34
|
+
'software': json['software'] == null ? undefined : json['software'],
|
|
35
|
+
'inputAssets': json['inputAssets'] == null ? undefined : json['inputAssets'],
|
|
36
|
+
'aspectRatio': json['aspectRatio'] == null ? undefined : json['aspectRatio'],
|
|
37
|
+
'prompt': json['prompt'] == null ? undefined : GenerationRecipePromptFromJSON(json['prompt']),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function GenerationRecipeToJSON(json) {
|
|
41
|
+
return GenerationRecipeToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function GenerationRecipeToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'id': value['id'],
|
|
49
|
+
'url': value['url'],
|
|
50
|
+
'modelTags': value['modelTags'],
|
|
51
|
+
'software': value['software'],
|
|
52
|
+
'inputAssets': value['inputAssets'],
|
|
53
|
+
'aspectRatio': value['aspectRatio'],
|
|
54
|
+
'prompt': GenerationRecipePromptToJSON(value['prompt']),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Picteus
|
|
3
|
+
* The Picteus API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.5.1
|
|
6
|
+
* Contact: edouard@koppasoft.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { TextualPrompt } from './TextualPrompt.js';
|
|
13
|
+
/**
|
|
14
|
+
* @type GenerationRecipePrompt
|
|
15
|
+
* The prompt which enabled to generate the image
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export type GenerationRecipePrompt = TextualPrompt | object;
|
|
19
|
+
export declare function GenerationRecipePromptFromJSON(json: any): GenerationRecipePrompt;
|
|
20
|
+
export declare function GenerationRecipePromptFromJSONTyped(json: any, ignoreDiscriminator: boolean): GenerationRecipePrompt;
|
|
21
|
+
export declare function GenerationRecipePromptToJSON(json: any): any;
|
|
22
|
+
export declare function GenerationRecipePromptToJSONTyped(value?: GenerationRecipePrompt | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Picteus
|
|
5
|
+
* The Picteus API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.5.1
|
|
8
|
+
* Contact: edouard@koppasoft.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { instanceOfTextualPrompt, TextualPromptFromJSONTyped, TextualPromptToJSON, } from './TextualPrompt.js';
|
|
15
|
+
export function GenerationRecipePromptFromJSON(json) {
|
|
16
|
+
return GenerationRecipePromptFromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function GenerationRecipePromptFromJSONTyped(json, ignoreDiscriminator) {
|
|
19
|
+
if (json == null) {
|
|
20
|
+
return json;
|
|
21
|
+
}
|
|
22
|
+
if (typeof json !== 'object') {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
if (instanceOfTextualPrompt(json)) {
|
|
26
|
+
return TextualPromptFromJSONTyped(json, true);
|
|
27
|
+
}
|
|
28
|
+
return {};
|
|
29
|
+
}
|
|
30
|
+
export function GenerationRecipePromptToJSON(json) {
|
|
31
|
+
return GenerationRecipePromptToJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function GenerationRecipePromptToJSONTyped(value, ignoreDiscriminator = false) {
|
|
34
|
+
if (value == null) {
|
|
35
|
+
return value;
|
|
36
|
+
}
|
|
37
|
+
if (typeof value !== 'object') {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
if (instanceOfTextualPrompt(value)) {
|
|
41
|
+
return TextualPromptToJSON(value);
|
|
42
|
+
}
|
|
43
|
+
return {};
|
|
44
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Picteus
|
|
3
3
|
* The Picteus API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.5.1
|
|
6
6
|
* Contact: edouard@koppasoft.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,7 +17,7 @@ import type { ImageGenerator } from './ImageGenerator.js';
|
|
|
17
17
|
import type { ImageFeature } from './ImageFeature.js';
|
|
18
18
|
import type { ImageFormat } from './ImageFormat.js';
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Comprehensive information about an image
|
|
21
21
|
* @export
|
|
22
22
|
* @interface Image
|
|
23
23
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Picteus
|
|
3
3
|
* The Picteus API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.5.1
|
|
6
6
|
* Contact: edouard@koppasoft.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* The dimensions of an image
|
|
14
14
|
* @export
|
|
15
15
|
* @interface ImageDimensions
|
|
16
16
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Picteus
|
|
3
3
|
* The Picteus API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.5.1
|
|
6
6
|
* Contact: edouard@koppasoft.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { ImageSummary } from './ImageSummary.js';
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* The vectorial distance with a reference image
|
|
15
15
|
* @export
|
|
16
16
|
* @interface ImageDistance
|
|
17
17
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Picteus
|
|
3
3
|
* The Picteus API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.5.1
|
|
6
6
|
* Contact: edouard@koppasoft.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* A vectorial representation of an image
|
|
14
14
|
* @export
|
|
15
15
|
* @interface ImageEmbeddings
|
|
16
16
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Picteus
|
|
3
3
|
* The Picteus API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.5.1
|
|
6
6
|
* Contact: edouard@koppasoft.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import type { ImageFeatureFormat } from './ImageFeatureFormat.js';
|
|
13
13
|
import type { ImageFeatureType } from './ImageFeatureType.js';
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* The image features
|
|
16
16
|
* @export
|
|
17
17
|
* @interface ImageFeature
|
|
18
18
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Picteus
|
|
3
3
|
* The Picteus API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.5.1
|
|
6
6
|
* Contact: edouard@koppasoft.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
export declare const ImageFeatureType: {
|
|
17
17
|
readonly Caption: "caption";
|
|
18
18
|
readonly Description: "description";
|
|
19
|
+
readonly Comment: "comment";
|
|
19
20
|
readonly Metadata: "metadata";
|
|
20
21
|
readonly Recipe: "recipe";
|
|
21
22
|
readonly Other: "other";
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Picteus
|
|
5
5
|
* The Picteus API
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.5.1
|
|
8
8
|
* Contact: edouard@koppasoft.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
export const ImageFeatureType = {
|
|
19
19
|
Caption: 'caption',
|
|
20
20
|
Description: 'description',
|
|
21
|
+
Comment: 'comment',
|
|
21
22
|
Metadata: 'metadata',
|
|
22
23
|
Recipe: 'recipe',
|
|
23
24
|
Other: 'other'
|