-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy path_index.html.old
169 lines (129 loc) · 3.66 KB
/
_index.html.old
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Data Vending Machines</title>
</head>
<body>
<h1>Data Vending Machines</h1>
<ul>
<li><a href="#65002">[65002]: Text extraction</a></li>
<li><a href="#65003">[65003]: Summarization</a></li>
<li><a href="#65004">[65004]: Translation</a></li>
<li><a href="#65005">[65005]: Image Generation</a></li>
</ul>
<h2>Kinds / Job Types</h2>
<h3 id="65002"><a name="65002">Kind 65002: <i>Text Extraction</i></a></h3>
<p>Job request to extract text from some kind of input.</p>
<h4>Input</h4>
<p>
Jobs MIGHT specify a mime type as the
<code>marker</code> in the <code>i</code> tag.
</p>
<h4>Params</h4>
<dl>
<dt>
<code>
[ "param", "range", "<start>", "<end>" ]
</code>
</dt>
<dd>
Specifies a range on which to focus the transcription
in seconds (for audio inputs)
</dd>
</dl>
<h4>Outputs</h4>
<p>Including but not limited to:</p>
<ul>
<li><code>text/vtt</code></li>
<li><code>text/plain</code></li>
<li><code>text/markdown</code></li>
</ul>
<hr>
<h3 id="65003"><a name="65003">Kind 65003: <i>Summarization</i></a></h3>
<p>Summarize input</p>
<h4>Params</h4>
<dl>
<dt>
<code>
[ "param", "length", "<length>" ]
</code>
</dt>
<dd>
Specifies the length of the summary in words, sentences, or paragraphs (e.g. "5 paragraphs")
</dd>
</dl>
<h4>Outputs</h4>
<p>Including but not limited to:</p>
<ul>
<li><code>text/plain</code></li>
<li><code>text/markdown</code></li>
</ul>
<hr>
<h3 id="65004"><a name="65004">Kind 65004: <i>Translation</i></a></h3>
<p>Summarize input</p>
<h4>Params</h4>
<dl>
<dt>
<code>
[ "param", "lang", "<lang>" ]
</code>
</dt>
<dd>
Desired language in BCP 47 format (e.g. "en-US")
</dd>
</dl>
<hr>
<h3 id="65003"><a name="65003">Kind 65003: <i>Summarization</i></a></h3>
<p>Summarize input</p>
<h4>Params</h4>
<dl>
<dt>
<code>
[ "param", "length", "<length>" ]
</code>
</dt>
<dd>
Specifies the length of the summary in words, sentences, or paragraphs (e.g. "5 paragraphs")
</dd>
</dl>
<h4>Outputs</h4>
<p>Including but not limited to:</p>
<ul>
<li><code>text/plain</code></li>
<li><code>text/markdown</code></li>
</ul>
<hr>
<h3 id="65005"><a name="65005">Kind 65005: <i>Image Generation</i></a></h3>
<p>Generate image based on some input (e.g. text, an event, another image, etc.)</p>
<h4>Params</h4>
<dl>
<dt>
<code>
[ "param", "negative_prompt", "<negative_prompt>" ]
</code>
</dt>
<dd>
Optional negative prompt to use for image generation
</dd>
<dt>
<code>
[ "param", "ratio", "<ratio>" ]
</code>
</dt>
<dd>
Ratio to use for image generation (e.g. "16:9")
</dd>
<dt>
<code>
[ "param", "model", "<model>" ]
</code>
</dt>
<dd>
Model to use for image generation
</dd>
</dl>
<h2>Examples</h2>
</body>
</html>