@activepieces/piece-alai 0.1.6 → 0.3.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@activepieces/piece-alai",
3
- "version": "0.1.6",
3
+ "version": "0.3.0",
4
4
  "type": "commonjs",
5
5
  "main": "./src/index.js",
6
6
  "dependencies": {},
@@ -1,74 +1,151 @@
1
1
  {
2
+ "1": "1",
2
3
  "AI-powered presentation generation API. Create, export, and manage professional presentations from text.": "AI-powered presentation generation API. Create, export, and manage professional presentations from text.",
3
4
  "API Key": "API Key",
4
- "Paste your API key here.": "Paste your API key here.",
5
- "\nFollow these steps to get your Alai API Key:\n\n1. Go to [**https://getalai.com/api**](https://getalai.com/api) and sign up or log in.\n2. Navigate to the **API Keys** section.\n3. Click **Create API Key** and give it a name (e.g., \"Activepieces\").\n4. Copy the key and paste it below.\n": "\nFollow these steps to get your Alai API Key:\n\n1. Go to [**https://getalai.com/api**](https://getalai.com/api) and sign up or log in.\n2. Navigate to the **API Keys** section.\n3. Click **Create API Key** and give it a name (e.g., \"Activepieces\").\n4. Copy the key and paste it below.\n",
5
+ "Your Alai API key.": "Your Alai API key.",
6
+ "\nTo get your Alai API key:\n\n1. Sign in at [app.getalai.com](https://app.getalai.com).\n2. Open the account menu and choose **API**.\n3. Click **Add new API key**, name it (for example \"Activepieces\") and copy the key.\n4. Paste it below.\n\nAPI calls use the same AI credits as the Alai app.\n": "\nTo get your Alai API key:\n\n1. Sign in at [app.getalai.com](https://app.getalai.com).\n2. Open the account menu and choose **API**.\n3. Click **Add new API key**, name it (for example \"Activepieces\") and copy the key.\n4. Paste it below.\n\nAPI calls use the same AI credits as the Alai app.\n",
6
7
  "Generate Presentation": "Generate Presentation",
8
+ "Generate Presentation (Agent)": "Generate Presentation (Agent)",
9
+ "Add Slide (Agent)": "Add Slide (Agent)",
10
+ "Export Presentation (Agent)": "Export Presentation (Agent)",
11
+ "Generate Speaker Notes (Agent)": "Generate Speaker Notes (Agent)",
7
12
  "Get Generation": "Get Generation",
8
13
  "Export Presentation": "Export Presentation",
9
14
  "Add Slide": "Add Slide",
10
15
  "Delete Presentation": "Delete Presentation",
16
+ "List Presentations": "List Presentations",
17
+ "List Themes": "List Themes",
18
+ "List Vibes": "List Vibes",
19
+ "Delete Slide": "Delete Slide",
20
+ "Generate Speaker Notes": "Generate Speaker Notes",
21
+ "Upload Images": "Upload Images",
11
22
  "Custom API Call": "Custom API Call",
12
23
  "Create a new AI-generated presentation from text.": "Create a new AI-generated presentation from text.",
13
- "Fetch the status and result of a generation job.": "Fetch the status and result of a generation job.",
14
- "Export a presentation in the specified formats.": "Export a presentation in the specified formats.",
15
- "Add a new slide to an existing presentation.": "Add a new slide to an existing presentation.",
16
- "Delete a presentation by its ID.": "Delete a presentation by its ID.",
17
- "Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
24
+ "Start generating a new presentation from text.": "Start generating a new presentation from text.",
25
+ "Start generating a new slide in an existing presentation.": "Start generating a new slide in an existing presentation.",
26
+ "Start exporting a presentation as link, PDF and/or PowerPoint.": "Start exporting a presentation as link, PDF and/or PowerPoint.",
27
+ "Start generating speaker notes for a presentation.": "Start generating speaker notes for a presentation.",
28
+ "Get the status and result of a generation, slide, export or speaker-notes job.": "Get the status and result of a generation, slide, export or speaker-notes job.",
29
+ "Export a presentation as a link, PDF and/or PowerPoint file.": "Export a presentation as a link, PDF and/or PowerPoint file.",
30
+ "Generate a new slide and add it to an existing presentation.": "Generate a new slide and add it to an existing presentation.",
31
+ "Permanently delete a presentation.": "Permanently delete a presentation.",
32
+ "List your presentations, newest first, optionally filtered by title.": "List your presentations, newest first, optionally filtered by title.",
33
+ "List the themes you can use when generating a presentation.": "List the themes you can use when generating a presentation.",
34
+ "List the vibes (visual styles) you can use when generating a presentation.": "List the vibes (visual styles) you can use when generating a presentation.",
35
+ "Permanently delete one slide from a presentation.": "Permanently delete one slide from a presentation.",
36
+ "Generate speaker notes for the slides of a presentation.": "Generate speaker notes for the slides of a presentation.",
37
+ "Upload up to 10 images (PNG, JPEG, WebP, GIF, AVIF or SVG, 10 MB each) to use in a new presentation.": "Upload up to 10 images (PNG, JPEG, WebP, GIF, AVIF or SVG, 10 MB each) to use in a new presentation.",
38
+ "Make a request to any Alai API endpoint, e.g. /themes (Classic v1) or /modern/v1/ping. The API key is added for you.": "Make a request to any Alai API endpoint, e.g. /themes (Classic v1) or /modern/v1/ping. The API key is added for you.",
18
39
  "Input Text": "Input Text",
19
40
  "Additional Instructions": "Additional Instructions",
20
- "Export Formats": "Export Formats",
21
41
  "Title": "Title",
22
- "Theme ID": "Theme ID",
23
42
  "Slide Range": "Slide Range",
24
43
  "Tone": "Tone",
25
44
  "Content Mode": "Content Mode",
26
45
  "Text Density": "Text Density",
46
+ "Theme ID": "Theme ID",
47
+ "Vibe ID": "Vibe ID",
48
+ "Language": "Language",
49
+ "Variants per Slide": "Variants per Slide",
50
+ "Image IDs": "Image IDs",
27
51
  "Include AI Images": "Include AI Images",
52
+ "Include Web Images": "Include Web Images",
28
53
  "Image Style": "Image Style",
54
+ "Image Style Instructions": "Image Style Instructions",
55
+ "Export Formats": "Export Formats",
29
56
  "Wait for Completion": "Wait for Completion",
30
57
  "Max Wait Time (seconds)": "Max Wait Time (seconds)",
31
- "Generation ID": "Generation ID",
32
58
  "Presentation ID": "Presentation ID",
33
- "Presentation": "Presentation",
34
- "Slide Context": "Slide Context",
35
- "Slide Order": "Slide Order",
59
+ "Slide Content": "Slide Content",
60
+ "Slide Position": "Slide Position",
61
+ "Slide Type": "Slide Type",
62
+ "Include Images": "Include Images",
63
+ "Formats": "Formats",
64
+ "Slide IDs": "Slide IDs",
65
+ "Generation ID": "Generation ID",
66
+ "Variants": "Variants",
67
+ "Title Contains": "Title Contains",
68
+ "Limit": "Limit",
69
+ "Slide ID": "Slide ID",
70
+ "Images": "Images",
36
71
  "Method": "Method",
37
72
  "Headers": "Headers",
38
73
  "Query Parameters": "Query Parameters",
39
74
  "Body Type": "Body Type",
40
75
  "Body": "Body",
41
- "Response is Binary ?": "Response is Binary ?",
42
- "No Error on Failure": "No Error on Failure",
43
- "Timeout (in seconds)": "Timeout (in seconds)",
76
+ "Response is Binary": "Response is Binary",
77
+ "Return Error as Output": "Return Error as Output",
78
+ "Timeout": "Timeout",
44
79
  "Follow redirects": "Follow redirects",
45
- "The text content to generate a presentation from.": "The text content to generate a presentation from.",
46
- "Extra instructions for how the presentation should be generated.": "Extra instructions for how the presentation should be generated.",
47
- "Formats to export the presentation in after generation.": "Formats to export the presentation in after generation.",
48
- "A title for the presentation. If not provided, one will be generated.": "A title for the presentation. If not provided, one will be generated.",
49
- "The ID of the presentation theme to use. If not provided, a default theme will be applied.": "The ID of the presentation theme to use. If not provided, a default theme will be applied.",
50
- "Target slide count: auto, 1, 2-5, 6-10, 11-15, 16-20, 21-25, 26-50.": "Target slide count: auto, 1, 2-5, 6-10, 11-15, 16-20, 21-25, 26-50.",
51
- "The tone of voice for the presentation content.": "The tone of voice for the presentation content.",
52
- "How the input text should be handled.": "How the input text should be handled.",
53
- "The amount of text to include per slide.": "The amount of text to include per slide.",
54
- "Whether to include AI-generated images in the presentation.": "Whether to include AI-generated images in the presentation.",
55
- "The style for AI-generated images.": "The style for AI-generated images.",
56
- "Wait for the presentation generation to complete before returning.": "Wait for the presentation generation to complete before returning.",
57
- "Maximum time to wait for completion (default 300 seconds / 5 minutes).": "Maximum time to wait for completion (default 300 seconds / 5 minutes).",
58
- "The ID of the generation job (from the \"Generate Presentation\" action).": "The ID of the generation job (from the \"Generate Presentation\" action).",
59
- "The ID of the presentation to export.": "The ID of the presentation to export.",
60
- "Formats to export the presentation in.": "Formats to export the presentation in.",
61
- "Select a presentation": "Select a presentation",
62
- "The content or topic for the slide to be generated.": "The content or topic for the slide to be generated.",
63
- "Extra instructions for how the slide should be generated.": "Extra instructions for how the slide should be generated.",
64
- "The position to insert the new slide (e.g., \"0\" for the first slide, \"end\" to add at the end).": "The position to insert the new slide (e.g., \"0\" for the first slide, \"end\" to add at the end).",
65
- "Whether to include AI-generated images in the slide.": "Whether to include AI-generated images in the slide.",
66
- "The ID of the presentation to delete.": "The ID of the presentation to delete.",
80
+ "The content to turn into slides: plain text, markdown or notes.": "The content to turn into slides: plain text, markdown or notes.",
81
+ "Extra guidance on style or focus for Alai.": "Extra guidance on style or focus for Alai.",
82
+ "Presentation title. If empty, Alai uses its default title.": "Presentation title. If empty, Alai uses its default title.",
83
+ "Target number of slides. \"auto\" decides from the input length.": "Target number of slides. \"auto\" decides from the input length.",
84
+ "Tone of voice. Sent to Alai as part of the instructions.": "Tone of voice. Sent to Alai as part of the instructions.",
85
+ "Keep, shorten or expand your text. Sent as part of the instructions.": "Keep, shorten or expand your text. Sent as part of the instructions.",
86
+ "How much text per slide. Sent as part of the instructions.": "How much text per slide. Sent as part of the instructions.",
87
+ "Theme ID from \"List Themes\". If empty, Alai uses its default theme.": "Theme ID from \"List Themes\". If empty, Alai uses its default theme.",
88
+ "Vibe ID from \"List Vibes\".": "Vibe ID from \"List Vibes\".",
89
+ "Output language. If empty, Alai matches the input language.": "Output language. If empty, Alai matches the input language.",
90
+ "Design options per slide (1-4). More use more credits.": "Design options per slide (1-4). More use more credits.",
91
+ "IDs from \"Upload Images\" to use in the slides.": "IDs from \"Upload Images\" to use in the slides.",
92
+ "Let Alai generate images for the slides.": "Let Alai generate images for the slides.",
93
+ "Let Alai search the web for images.": "Let Alai search the web for images.",
94
+ "Style of AI images. \"custom\" needs Image Style Instructions.": "Style of AI images. \"custom\" needs Image Style Instructions.",
95
+ "Describe the image look. Required when Image Style is \"custom\".": "Describe the image look. Required when Image Style is \"custom\".",
96
+ "Formats to produce when the deck is ready. Default: link.": "Formats to produce when the deck is ready. Default: link.",
97
+ "Wait until Alai finishes. If off, use \"Get Generation\" with the returned ID later.": "Wait until Alai finishes. If off, use \"Get Generation\" with the returned ID later.",
98
+ "How long to wait when waiting is on. Default 300, capped at 480.": "How long to wait when waiting is on. Default 300, capped at 480.",
99
+ "The content to turn into slides (plain text or markdown).": "The content to turn into slides (plain text or markdown).",
100
+ "Presentation title.": "Presentation title.",
101
+ "Extra guidance on style or focus.": "Extra guidance on style or focus.",
102
+ "Target slide count. \"auto\" decides from the input.": "Target slide count. \"auto\" decides from the input.",
103
+ "Tone of voice.": "Tone of voice.",
104
+ "Keep, condense or enhance the input text.": "Keep, condense or enhance the input text.",
105
+ "How much text per slide.": "How much text per slide.",
106
+ "Theme ID from List Themes.": "Theme ID from List Themes.",
107
+ "Vibe ID from List Vibes.": "Vibe ID from List Vibes.",
108
+ "Output language; empty matches the input.": "Output language; empty matches the input.",
109
+ "Image IDs uploaded to Alai earlier.": "Image IDs uploaded to Alai earlier.",
110
+ "The presentation ID, e.g. from List Presentations or the presentation_id of Get Generation.": "The presentation ID, e.g. from List Presentations or the presentation_id of Get Generation.",
111
+ "What the slide should contain.": "What the slide should contain.",
112
+ "0-based position; omit to append at the end.": "0-based position; omit to append at the end.",
113
+ "classic (editable text) or creative (image-led).": "classic (editable text) or creative (image-led).",
114
+ "false asks Alai for a slide without images.": "false asks Alai for a slide without images.",
115
+ "Extra guidance for this slide.": "Extra guidance for this slide.",
116
+ "One or more of link, pdf, ppt.": "One or more of link, pdf, ppt.",
117
+ "Only these slides; omit for all slides.": "Only these slides; omit for all slides.",
118
+ "The generation_id returned by another Alai action.": "The generation_id returned by another Alai action.",
119
+ "The presentation to export. Use \"List Presentations\" or the presentation_id from \"Generate Presentation\".": "The presentation to export. Use \"List Presentations\" or the presentation_id from \"Generate Presentation\".",
120
+ "Formats to produce.": "Formats to produce.",
121
+ "The presentation to add the slide to. Use \"List Presentations\" or the presentation_id from \"Generate Presentation\".": "The presentation to add the slide to. Use \"List Presentations\" or the presentation_id from \"Generate Presentation\".",
122
+ "Guidance on the style or focus of this slide.": "Guidance on the style or focus of this slide.",
123
+ "0-based position for the slide. Empty or \"end\" adds it last.": "0-based position for the slide. Empty or \"end\" adds it last.",
124
+ "Classic (editable text) or creative (image-led). Default: classic.": "Classic (editable text) or creative (image-led). Default: classic.",
125
+ "Turn off to ask Alai for a slide without images.": "Turn off to ask Alai for a slide without images.",
126
+ "Optional image style, e.g. realistic or cartoon.": "Optional image style, e.g. realistic or cartoon.",
127
+ "How many design options to generate for this slide (1-4).": "How many design options to generate for this slide (1-4).",
128
+ "The presentation to delete. Use \"List Presentations\" or the presentation_id from \"Generate Presentation\".": "The presentation to delete. Use \"List Presentations\" or the presentation_id from \"Generate Presentation\".",
129
+ "Only titles containing this text (not case-sensitive).": "Only titles containing this text (not case-sensitive).",
130
+ "Maximum number of presentations to return (default 100).": "Maximum number of presentations to return (default 100).",
131
+ "The presentation that contains the slide. Use \"List Presentations\" or the presentation_id from \"Generate Presentation\".": "The presentation that contains the slide. Use \"List Presentations\" or the presentation_id from \"Generate Presentation\".",
132
+ "The slide_id from \"Add Slide\" or from \"Generate Speaker Notes\".": "The slide_id from \"Add Slide\" or from \"Generate Speaker Notes\".",
133
+ "The presentation to write speaker notes for. Use \"List Presentations\" or the presentation_id from \"Generate Presentation\".": "The presentation to write speaker notes for. Use \"List Presentations\" or the presentation_id from \"Generate Presentation\".",
134
+ "Only these slides. Leave empty for all slides.": "Only these slides. Leave empty for all slides.",
135
+ "Up to 10 image files.": "Up to 10 image files.",
67
136
  "Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
137
+ "Appended to the URL as ?key=value.": "Appended to the URL as ?key=value.",
68
138
  "Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
69
- "Link": "Link",
70
- "PDF": "PDF",
71
- "PowerPoint (PPTX)": "PowerPoint (PPTX)",
139
+ "On a failed request, output the error instead of failing the step.": "On a failed request, output the error instead of failing the step.",
140
+ "Seconds to wait for a response. Empty: up to the flow limit (10 min).": "Seconds to wait for a response. Empty: up to the flow limit (10 min).",
141
+ "Follow 3xx redirects instead of returning them as the response.": "Follow 3xx redirects instead of returning them as the response.",
142
+ "auto": "auto",
143
+ "2-5": "2-5",
144
+ "6-10": "6-10",
145
+ "11-15": "11-15",
146
+ "16-20": "16-20",
147
+ "21-25": "21-25",
148
+ "26-50": "26-50",
72
149
  "Default": "Default",
73
150
  "Professional": "Professional",
74
151
  "Casual": "Casual",
@@ -87,19 +164,81 @@
87
164
  "Essential": "Essential",
88
165
  "Balanced": "Balanced",
89
166
  "Detailed": "Detailed",
167
+ "English (US)": "English (US)",
168
+ "English (UK)": "English (UK)",
169
+ "Spanish (Latin America)": "Spanish (Latin America)",
170
+ "Spanish (Mexico)": "Spanish (Mexico)",
171
+ "Spanish (Spain)": "Spanish (Spain)",
172
+ "French": "French",
173
+ "German": "German",
174
+ "Italian": "Italian",
175
+ "Portuguese (Brazil)": "Portuguese (Brazil)",
176
+ "Portuguese (Portugal)": "Portuguese (Portugal)",
177
+ "Dutch": "Dutch",
178
+ "Polish": "Polish",
179
+ "Russian": "Russian",
180
+ "Japanese": "Japanese",
181
+ "Korean": "Korean",
182
+ "Chinese (Simplified)": "Chinese (Simplified)",
183
+ "Hindi": "Hindi",
184
+ "Swedish": "Swedish",
185
+ "Norwegian": "Norwegian",
186
+ "Danish": "Danish",
187
+ "Finnish": "Finnish",
188
+ "Greek": "Greek",
189
+ "Turkish": "Turkish",
190
+ "Czech": "Czech",
191
+ "Hungarian": "Hungarian",
192
+ "Romanian": "Romanian",
193
+ "Bulgarian": "Bulgarian",
194
+ "Ukrainian": "Ukrainian",
195
+ "Vietnamese": "Vietnamese",
196
+ "Thai": "Thai",
197
+ "Indonesian": "Indonesian",
198
+ "Serbian": "Serbian",
199
+ "Croatian": "Croatian",
200
+ "Bosnian": "Bosnian",
201
+ "Slovenian": "Slovenian",
202
+ "Macedonian": "Macedonian",
203
+ "Albanian": "Albanian",
204
+ "Montenegrin": "Montenegrin",
205
+ "Lithuanian": "Lithuanian",
90
206
  "Auto": "Auto",
91
207
  "Realistic": "Realistic",
92
208
  "Artistic": "Artistic",
93
209
  "Cartoon": "Cartoon",
94
210
  "3D": "3D",
211
+ "Link": "Link",
212
+ "PDF": "PDF",
213
+ "PowerPoint (PPTX)": "PowerPoint (PPTX)",
214
+ "DEFAULT": "DEFAULT",
215
+ "PROFESSIONAL": "PROFESSIONAL",
216
+ "CASUAL": "CASUAL",
217
+ "TECHNICAL": "TECHNICAL",
218
+ "EDUCATIONAL": "EDUCATIONAL",
219
+ "INSPIRATIONAL": "INSPIRATIONAL",
220
+ "NARRATIVE": "NARRATIVE",
221
+ "PERSUASIVE": "PERSUASIVE",
222
+ "AUTHORITATIVE": "AUTHORITATIVE",
223
+ "EMPATHETIC": "EMPATHETIC",
224
+ "PRESERVE": "PRESERVE",
225
+ "CONDENSE": "CONDENSE",
226
+ "ENHANCE": "ENHANCE",
227
+ "CUSTOM": "CUSTOM",
228
+ "MINIMAL": "MINIMAL",
229
+ "ESSENTIAL": "ESSENTIAL",
230
+ "BALANCED": "BALANCED",
231
+ "DETAILED": "DETAILED",
232
+ "classic": "classic",
233
+ "creative": "creative",
234
+ "Classic": "Classic",
235
+ "Creative": "Creative",
95
236
  "GET": "GET",
96
237
  "POST": "POST",
97
238
  "PATCH": "PATCH",
98
239
  "PUT": "PUT",
99
240
  "DELETE": "DELETE",
100
241
  "HEAD": "HEAD",
101
- "None": "None",
102
- "JSON": "JSON",
103
- "Form Data": "Form Data",
104
- "Raw": "Raw"
242
+ "Request": "Request",
243
+ "Data to send": "Data to send"
105
244
  }