@pipedream/openai 0.1.2 → 0.1.3

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.
@@ -3,7 +3,7 @@ import constants from "../common/constants.mjs";
3
3
 
4
4
  export default {
5
5
  name: "Create Image",
6
- version: "0.1.0",
6
+ version: "0.1.1",
7
7
  key: "openai-create-image",
8
8
  description: "Creates an image given a prompt. returns a URL to the image. [See docs here](https://platform.openai.com/docs/api-reference/images)",
9
9
  type: "action",
@@ -19,6 +19,7 @@ export default {
19
19
  description: "The number of images to generate. Must be between 1 and 10.",
20
20
  type: "integer",
21
21
  optional: true,
22
+ default: 1,
22
23
  },
23
24
  size: {
24
25
  label: "Size",
@@ -26,6 +27,7 @@ export default {
26
27
  type: "string",
27
28
  optional: true,
28
29
  options: constants.IMAGE_SIZES,
30
+ default: "1024x1024",
29
31
  },
30
32
  },
31
33
  async run({ $ }) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipedream/openai",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Pipedream OpenAI Components",
5
5
  "main": "app/openai.app.mjs",
6
6
  "keywords": [