-
Notifications
You must be signed in to change notification settings - Fork 16
/
scenex.jina.ai.yaml
58 lines (57 loc) · 1.57 KB
/
scenex.jina.ai.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
openapi: 3.0.1
info:
title: SceneXplain
description: A Plugin that takes an image url as input and return the description of that image. In the response to the user you display the image in markdown.
version: 'v1'
servers:
- url: https://scenex.jina.ai/chatgpt
paths:
/:
post:
operationId: explainImage
summary: Explain image with SceneXplain
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/explainImageRequest'
responses:
"200":
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/explainImageResponse'
components:
schemas:
explainImageResponse:
type: object
properties:
image:
type: string
description: URL of the image. You must show it to the user.
explanation:
type: string
description: Explanation of the image.
explainImageRequest:
type: object
required:
- image
properties:
image:
type: string
description: Image URL or base64 encoded image.
required: true
languages:
type: array
items:
type: string
description: Specify the language(s) of the description output.
required: false
features:
type: array
items:
type: string
description: Additional features to be enabled for the image explanation.
required: false