Add Activepieces integration for workflow automation

- Add Activepieces fork with SmoothSchedule custom piece
- Create integrations app with Activepieces service layer
- Add embed token endpoint for iframe integration
- Create Automations page with embedded workflow builder
- Add sidebar visibility fix for embed mode
- Add list inactive customers endpoint to Public API
- Include SmoothSchedule triggers: event created/updated/cancelled
- Include SmoothSchedule actions: create/update/cancel events, list resources/services/customers

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
poduck
2025-12-18 22:59:37 -05:00
parent 9848268d34
commit 3aa7199503
16292 changed files with 1284892 additions and 4708 deletions

View File

@@ -0,0 +1,33 @@
{
"extends": [
"../../../../.eslintrc.base.json"
],
"ignorePatterns": [
"!**/*"
],
"overrides": [
{
"files": [
"*.ts",
"*.tsx",
"*.js",
"*.jsx"
],
"rules": {}
},
{
"files": [
"*.ts",
"*.tsx"
],
"rules": {}
},
{
"files": [
"*.js",
"*.jsx"
],
"rules": {}
}
]
}

View File

@@ -0,0 +1,7 @@
# pieces-runware
This library was generated with [Nx](https://nx.dev).
## Building
Run `nx build pieces-runware` to build the library.

View File

@@ -0,0 +1,11 @@
{
"name": "@activepieces/piece-runware",
"version": "0.0.3",
"type": "commonjs",
"main": "./src/index.js",
"types": "./src/index.d.ts",
"dependencies": {
"tslib": "^2.3.0",
"@runware/sdk-js": "1.1.44"
}
}

View File

@@ -0,0 +1,65 @@
{
"name": "pieces-runware",
"$schema": "../../../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "packages/pieces/community/runware/src",
"projectType": "library",
"release": {
"version": {
"manifestRootsToUpdate": [
"dist/{projectRoot}"
],
"currentVersionResolver": "git-tag",
"fallbackCurrentVersionResolver": "disk"
}
},
"tags": [],
"targets": {
"build": {
"executor": "@nx/js:tsc",
"outputs": [
"{options.outputPath}"
],
"options": {
"outputPath": "dist/packages/pieces/community/runware",
"tsConfig": "packages/pieces/community/runware/tsconfig.lib.json",
"packageJson": "packages/pieces/community/runware/package.json",
"main": "packages/pieces/community/runware/src/index.ts",
"assets": [
"packages/pieces/community/runware/*.md",
{
"input": "packages/pieces/community/runware/src/i18n",
"output": "./src/i18n",
"glob": "**/!(i18n.json)"
}
],
"buildableProjectDepsInPackageJsonType": "dependencies",
"updateBuildableProjectDepsInPackageJson": true
},
"dependsOn": [
"^build",
"prebuild"
]
},
"nx-release-publish": {
"options": {
"packageRoot": "dist/{projectRoot}"
}
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": [
"{options.outputFile}"
]
},
"prebuild": {
"executor": "nx:run-commands",
"options": {
"cwd": "packages/pieces/community/runware",
"command": "bun install --no-save --silent"
},
"dependsOn": [
"^build"
]
}
}
}

View File

@@ -0,0 +1,60 @@
{
"Runware.AI is a high-performance, cost-effective AI media generation API specializing in images and videos. Through this integration, workflows can automatically generate visuals via text or image prompts and interact with Runwares full-featured API.": "Runware.AI ist eine leistungsstarke und kostengünstige API für die AI Media-Generation, spezialisiert auf Bilder und Videos. Durch diese Integration können Workflows automatisch über Text- oder Bildabfragen visuelle Bilder generieren und mit Runware-API interagieren.",
"You can get the API key from your Runware account": "Du kannst den API-Schlüssel von deinem Runware-Konto erhalten",
"Generate Images from Text": "Bilder aus Text generieren",
"Generate Images from Existing Image": "Bilder aus vorhandenem Bild generieren",
"Generate Video from Text": "Video aus Text generieren",
"Image Background Removal": "Bildhintergrund-Entfernung",
"Produce images from a text description.": "Erstellen Sie Bilder aus einer Textbeschreibung.",
"Generate new images based on a provided image (image-to-image).": "Erstellen Sie neue Bilder basierend auf einem bereitgestellten Bild (Bild zu Bild).",
"Generate video from text prompt.": "Video aus Text-Prompt generieren.",
"Request image background removal.": "Hintergrundbild entfernen.",
"Model": "Modell",
"Positive Prompt": "Positive Aufforderung",
"Negative Prompt": "Negative Prompt",
"Height": "Höhe",
"Width": "Width",
"Steps": "Schritte",
"CFG Scale": "CFG Skalierung",
"Scheduler": "Zeitplaner",
"Seed": "Samen",
"VAE": "VAE",
"Clip Skip": "Clip überspringen",
"Seed Image": "Seed-Bild",
"Strength": "Stärke",
"Duration": "Dauer",
"FPS": "FPS",
"Output Format": "Ausgabeformat",
"Output Quality": "Ausgabequalität",
"Upload Endpoint": "Endpunkt hochladen",
"Number of Results": "Anzahl der Ergebnisse",
"Input Image": "Eingabebild",
"You can find model in the Model Explorer (https://my.runware.ai/models/all) tool.": "Modell finden Sie im Model Explorer (https://my.runware.ai/models/all).",
"A positive prompt is a text instruction to guide the model on generating the image. It is usually a sentence or a paragraph that provides positive guidance for the task. This parameter is essential to shape the desired results.": "Eine positive Eingabeaufforderung ist eine Textanweisung, die das Modell zur Generierung des Bildes anleitet. Es handelt sich in der Regel um einen Satz oder einen Absatz, der eine positive Orientierung für die Aufgabe liefert.",
"A negative prompt is a text instruction to guide the model on generating the image. It is usually a sentence or a paragraph that provides negative guidance for the task. This parameter helps to avoid certain undesired results.": "Eine negative Eingabeaufforderung ist eine Textanweisung, die das Modell beim Generieren des Bildes anleitet. Es handelt sich in der Regel um einen Satz oder einen Absatz, der eine negative Anleitung für die Aufgabe liefert.",
"Used to define the height dimension of the generated image. Certain models perform better with specific dimensions.": "Wird verwendet, um die Höhendimension des generierten Bildes zu definieren. Bestimmte Modelle funktionieren besser mit bestimmten Dimensionen.",
"Used to define the width dimension of the generated image. Certain models perform better with specific dimensions.": "Wird verwendet, um die Breite des generierten Bildes zu definieren. Bestimmte Modelle funktionieren besser mit bestimmten Dimensionen.",
"The number of steps is the number of iterations the model will perform to generate the image. The higher the number of steps, the more detailed the image will be. However, increasing the number of steps will also increase the time it takes to generate the image and may not always result in a better image (some schedulers work differently).": "Die Anzahl der Schritte ist die Anzahl der Iterationen, die das Modell durchführen wird, um das Bild zu generieren. Je höher die Anzahl der Schritte, desto detaillierter wird das Bild. Allerdings, Die Erhöhung der Anzahl der Schritte erhöht auch die Zeit, die benötigt wird, um das Bild zu generieren und kann nicht immer zu einem besseren Bild führen (einige Zeitpläne arbeiten anders).",
"Guidance scale represents how closely the images will resemble the prompt or how much freedom the AI model has. Higher values are closer to the prompt. Low values may reduce the quality of the results.": "Richtungsskala zeigt, wie eng die Bilder der Prompt ähneln oder wie viel Freiheit das AI-Modell hat. Höhere Werte sind näher an der Eingabeaufforderung. Niedrige Werte können die Qualität der Ergebnisse verringern.",
"An scheduler is a component that manages the inference process. Different schedulers can be used to achieve different results like more detailed images, faster inference, or more accurate results.": "Ein Zeitplaner ist eine Komponente, die den Inferenzprozess verwaltet. Verschiedene Zeitplaner können verwendet werden, um unterschiedliche Ergebnisse zu erzielen, wie detailliertere Bilder, schnellere Ergebnisse oder genauere Ergebnisse.",
"A seed is a value used to randomize the image generation. If you want to make images reproducible (generate the same image multiple times), you can use the same seed value.": "Ein Seed ist ein Wert, der verwendet wird, um das Bild zufällig zu generieren. Wenn Sie Bilder reproduzierbar machen wollen (das gleiche Bild mehrmals generieren), können Sie denselben Seed-Wert verwenden.",
"VAE (Variational Autoencoder) is a type of neural network architecture used for generating images. Some models may require a specific VAE to work properly. If you want to use a specific VAE, you can provide its AIR identifier here.": "VAE (Variational Autoencoder) ist eine Art neuronaler Netzwerkarchitektur, die zur Erzeugung von Bildern verwendet wird. Einige Modelle benötigen möglicherweise einen bestimmten VAE, um korrekt zu funktionieren. Wenn Sie einen bestimmten VAE verwenden möchten, können Sie hier den AIR Identifikator angeben.",
"Defines additional layer skips during prompt processing in the CLIP model. Some models already skip layers by default, this parameter adds extra skips on top of those. Different values affect how your prompt is interpreted, which can lead to variations in the generated image.": "Definiert zusätzliche Layer während der Eingabeaufforderung im CLIP-Modell. Einige Modelle überspringen Ebenen bereits standardmäßig, dieser Parameter fügt zusätzliche Überspringungen hinzu. Verschiedene Werte beeinflussen die Interpretation Ihrer Eingabeaufforderung, was zu Variationen im generierten Bild führen kann.",
"A URL for the seed image to base the generation on.": "Eine URL für das Seed-Bild, auf dem die Erzeugung basiert.",
"A value between 0 and 1 that indicates how much to transform the seed image. A value of 0 will keep the image as is, while a value of 1 will completely transform it according to the prompt.": "Ein Wert zwischen 0 und 1, der angibt, wie viel das Seed-Bild transformiert werden soll. Ein Wert von 0 wird das Bild so halten, wie es ist, während ein Wert von 1 es komplett entsprechend der Eingabeaufforderung transformiert.",
"The duration of the generated video in seconds.": "Die Dauer des generierten Videos in Sekunden.",
"Frames per second for the generated video.": "Bilder pro Sekunde für das generierte Video.",
"The format of the generated video.": "Das Format des generierten Videos.",
"Sets the compression quality of the output video. Higher values preserve more quality but increase file size, lower values reduce file size but decrease quality.": "Setzt die Kompressionsqualität des Ausgabevideos. Höhere Werte bewahren mehr Qualität, erhöhen aber die Dateigröße, verringern die Dateigröße, verringern aber die Qualität.",
"Specifies a URL where the generated content will be automatically uploaded using the HTTP PUT method. The raw binary data of the media file is sent directly as the request body. For secure uploads to cloud storage, use presigned URLs that include temporary authentication credentials.": "Gibt eine URL an, in der generierte Inhalte automatisch mit der HTTP-PUT-Methode hochgeladen werden. Die Rohbinärdaten der Mediendatei werden direkt als Request-Body gesendet. Für sichere Uploads in den Cloud-Speicher verwenden Sie vordefinierte URLs, die temporäre Authentifizierungsdaten beinhalten.",
"Specifies how many videos to generate for the given parameters. Each video will have the same parameters but different seeds, resulting in variations of the same concept.": "Gibt an, wie viele Videos für die angegebenen Parameter generiert werden sollen. Jedes Video wird die gleichen Parameter haben, aber verschiedene Samen, was zu Variationen des gleichen Konzepts führt.",
"A URL for the image to have its background removed.": "Eine URL für den Hintergrund des Bildes.",
"The format of the output image with the background removed.": "Das Format des Ausgabebildes mit dem Hintergrund entfernt.",
"Sets the compression quality of the output image. Higher values preserve more quality but increase file size, lower values reduce file size but decrease quality.": "Legt die Kompressionsqualität des Ausgabebildes fest. Höhere Werte bewahren mehr Qualität, erhöhen aber die Dateigröße, verringern die Dateigröße, verringern aber die Qualität.",
"MP4": "MP4",
"WEBM": "WEBM",
"MOV": "MOV",
"PNG": "PNG",
"JPG": "JPG",
"WEBP": "WEBP"
}

View File

@@ -0,0 +1,60 @@
{
"Runware.AI is a high-performance, cost-effective AI media generation API specializing in images and videos. Through this integration, workflows can automatically generate visuals via text or image prompts and interact with Runwares full-featured API.": "Runware.AI es una API de generación de medios de AI de alto rendimiento, rentable y especializada en imágenes y videos. A través de esta integración, los flujos de trabajo pueden generar automáticamente imágenes a través de indicaciones de texto o imagen e interactuar con la completa API de Runware.",
"You can get the API key from your Runware account": "Puedes obtener la clave API de tu cuenta de Runware",
"Generate Images from Text": "Generar imágenes a partir del texto",
"Generate Images from Existing Image": "Generar imágenes a partir de la imagen existente",
"Generate Video from Text": "Generar vídeo a partir del texto",
"Image Background Removal": "Quitar fondo de imagen",
"Produce images from a text description.": "Produce imágenes a partir de una descripción de texto.",
"Generate new images based on a provided image (image-to-image).": "Genera nuevas imágenes basadas en una imagen proporcionada (imagen a imagen).",
"Generate video from text prompt.": "Generar vídeo a partir de la petición de texto.",
"Request image background removal.": "Solicitar eliminación de fondo de la imagen.",
"Model": "Modelo",
"Positive Prompt": "Prompt positivo",
"Negative Prompt": "Prompt negativa",
"Height": "Altura",
"Width": "Width",
"Steps": "Pasos",
"CFG Scale": "Escala CFG",
"Scheduler": "Programador",
"Seed": "Semilla",
"VAE": "VAE",
"Clip Skip": "Saltar clip",
"Seed Image": "Imagen de semilla",
"Strength": "Intensidad",
"Duration": "Duración",
"FPS": "FPS",
"Output Format": "Formato de salida",
"Output Quality": "Calidad de salida",
"Upload Endpoint": "Subir Endpoint",
"Number of Results": "Número de resultados",
"Input Image": "Imagen de entrada",
"You can find model in the Model Explorer (https://my.runware.ai/models/all) tool.": "Puedes encontrar el modelo en la herramienta Model Explorer (https://my.runware.ai/models/all).",
"A positive prompt is a text instruction to guide the model on generating the image. It is usually a sentence or a paragraph that provides positive guidance for the task. This parameter is essential to shape the desired results.": "Un indicador positivo es una instrucción de texto para guiar el modelo en la generación de la imagen. Normalmente es una frase o un párrafo que proporciona orientación positiva para la tarea. Este parámetro es esencial para dar forma a los resultados deseados.",
"A negative prompt is a text instruction to guide the model on generating the image. It is usually a sentence or a paragraph that provides negative guidance for the task. This parameter helps to avoid certain undesired results.": "Un indicador negativo es una instrucción de texto para guiar el modelo en la generación de la imagen. Normalmente es una frase o un párrafo que proporciona orientación negativa para la tarea. Este parámetro ayuda a evitar ciertos resultados no deseados.",
"Used to define the height dimension of the generated image. Certain models perform better with specific dimensions.": "Utilizado para definir la dimensión de altura de la imagen generada. Algunos modelos funcionan mejor con dimensiones específicas.",
"Used to define the width dimension of the generated image. Certain models perform better with specific dimensions.": "Utilizado para definir la dimensión de ancho de la imagen generada. Algunos modelos funcionan mejor con dimensiones específicas.",
"The number of steps is the number of iterations the model will perform to generate the image. The higher the number of steps, the more detailed the image will be. However, increasing the number of steps will also increase the time it takes to generate the image and may not always result in a better image (some schedulers work differently).": "El número de pasos es el número de iteraciones que el modelo realizará para generar la imagen. Cuanto mayor sea el número de pasos, más detallada será la imagen. Sin embargo, incrementar el número de pasos también aumentará el tiempo que tarda en generar la imagen y puede que no siempre resulte en una mejor imagen (algunos programadores funcionan de forma diferente).",
"Guidance scale represents how closely the images will resemble the prompt or how much freedom the AI model has. Higher values are closer to the prompt. Low values may reduce the quality of the results.": "La escala de orientación representa hasta qué punto las imágenes se parecerán al prompt o a la libertad que tiene el modelo AI. Los valores más altos están más cerca de la indicación. Valores bajos pueden reducir la calidad de los resultados.",
"An scheduler is a component that manages the inference process. Different schedulers can be used to achieve different results like more detailed images, faster inference, or more accurate results.": "Un planificador es un componente que administra el proceso de inferencia. Se pueden utilizar diferentes programadores para lograr diferentes resultados, como imágenes más detalladas, inferiores más rápidas o resultados más precisos.",
"A seed is a value used to randomize the image generation. If you want to make images reproducible (generate the same image multiple times), you can use the same seed value.": "Una semilla es un valor usado para aleatorizar la generación de la imagen. Si desea hacer que las imágenes sean reproducibles (generar la misma imagen varias veces), puede utilizar el mismo valor de semilla.",
"VAE (Variational Autoencoder) is a type of neural network architecture used for generating images. Some models may require a specific VAE to work properly. If you want to use a specific VAE, you can provide its AIR identifier here.": "VAE (Variational Autoencoder) es un tipo de arquitectura de red neural utilizada para generar imágenes. Algunos modelos pueden requerir un VAE específico para funcionar correctamente. Si desea utilizar una VAE específica, puede proporcionar su identificador AIR aquí.",
"Defines additional layer skips during prompt processing in the CLIP model. Some models already skip layers by default, this parameter adds extra skips on top of those. Different values affect how your prompt is interpreted, which can lead to variations in the generated image.": "Define saltos de capa adicionales durante el procesamiento del prompt en el modelo CLIP. Algunos modelos ya omiten las capas de forma predeterminada, este parámetro añade saltos adicionales en la parte superior. Diferentes valores afectan cómo se interpreta el intérprete, lo que puede llevar a variaciones en la imagen generada.",
"A URL for the seed image to base the generation on.": "Una URL para la imagen de semilla en la que basar la generación.",
"A value between 0 and 1 that indicates how much to transform the seed image. A value of 0 will keep the image as is, while a value of 1 will completely transform it according to the prompt.": "Un valor entre 0 y 1 que indica cuánto transformar la imagen de semilla. Un valor de 0 mantendrá la imagen tal como está, mientras que un valor de 1 la transformará completamente de acuerdo a la indicación.",
"The duration of the generated video in seconds.": "La duración del vídeo generado en segundos.",
"Frames per second for the generated video.": "Fotogramas por segundo para el video generado.",
"The format of the generated video.": "El formato del vídeo generado.",
"Sets the compression quality of the output video. Higher values preserve more quality but increase file size, lower values reduce file size but decrease quality.": "Establece la calidad de compresión del vídeo de salida. Los valores más altos preservan más calidad, pero aumentan el tamaño del archivo, los valores más bajos reducen el tamaño del archivo pero disminuyen la calidad.",
"Specifies a URL where the generated content will be automatically uploaded using the HTTP PUT method. The raw binary data of the media file is sent directly as the request body. For secure uploads to cloud storage, use presigned URLs that include temporary authentication credentials.": "Especifica una URL donde el contenido generado se subirá automáticamente usando el método HTTP PUT. Los datos binarios crudos del archivo multimedia se envían directamente como el cuerpo de la solicitud. Para subidas seguras al almacenamiento en la nube, utilice URLs predefinidas que incluyan credenciales de autenticación temporales.",
"Specifies how many videos to generate for the given parameters. Each video will have the same parameters but different seeds, resulting in variations of the same concept.": "Especifica cuántos vídeos se deben generar para los parámetros dados. Cada video tendrá los mismos parámetros, pero diferentes semillas, resultando en variaciones del mismo concepto.",
"A URL for the image to have its background removed.": "Una URL para que la imagen sea eliminada de fondo.",
"The format of the output image with the background removed.": "El formato de la imagen de salida con el fondo eliminado.",
"Sets the compression quality of the output image. Higher values preserve more quality but increase file size, lower values reduce file size but decrease quality.": "Establece la calidad de compresión de la imagen de salida. Los valores más altos preservan más calidad, pero aumentan el tamaño del archivo, los valores más bajos reducen el tamaño del archivo pero disminuyen la calidad.",
"MP4": "MP4",
"WEBM": "WEBM",
"MOV": "MUV",
"PNG": "PNG",
"JPG": "JPG",
"WEBP": "WEBP"
}

View File

@@ -0,0 +1,60 @@
{
"Runware.AI is a high-performance, cost-effective AI media generation API specializing in images and videos. Through this integration, workflows can automatically generate visuals via text or image prompts and interact with Runwares full-featured API.": "Runware.AI est une API de génération de médias AI haute performance et rentable spécialisée dans les images et les vidéos. Grâce à cette intégration, les workflows peuvent générer automatiquement des visuels via des invites de texte ou d'image et interagir avec l'API complète de Runware.",
"You can get the API key from your Runware account": "Vous pouvez obtenir la clé API depuis votre compte Runware",
"Generate Images from Text": "Générer des images à partir du texte",
"Generate Images from Existing Image": "Générer des images à partir d'une image existante",
"Generate Video from Text": "Générer une vidéo à partir du texte",
"Image Background Removal": "Suppression de l'arrière-plan de l'image",
"Produce images from a text description.": "Produire des images à partir d'une description du texte.",
"Generate new images based on a provided image (image-to-image).": "Générer de nouvelles images à partir d'une image fournie (image-to-image).",
"Generate video from text prompt.": "Générer une vidéo à partir de l'invite de texte.",
"Request image background removal.": "Demander la suppression de l'arrière-plan de l'image.",
"Model": "Modélisation",
"Positive Prompt": "Invitation positive",
"Negative Prompt": "Proposition négative",
"Height": "Hauteur",
"Width": "Width",
"Steps": "Steps",
"CFG Scale": "Échelle CFG",
"Scheduler": "Planificateur",
"Seed": "Graine",
"VAE": "VAE",
"Clip Skip": "Ignorer le clip",
"Seed Image": "Image de graine",
"Strength": "Force",
"Duration": "Durée",
"FPS": "FPS",
"Output Format": "Format de sortie",
"Output Quality": "Qualité de sortie",
"Upload Endpoint": "Point de terminaison de téléchargement",
"Number of Results": "Nombre de résultats",
"Input Image": "Image d'entrée",
"You can find model in the Model Explorer (https://my.runware.ai/models/all) tool.": "Vous pouvez trouver le modèle dans l'outil Model Explorer (https://my.runware.ai/models/all).",
"A positive prompt is a text instruction to guide the model on generating the image. It is usually a sentence or a paragraph that provides positive guidance for the task. This parameter is essential to shape the desired results.": "Une invite positive est une instruction de texte pour guider le modèle sur la génération de l'image. C'est généralement une phrase ou un paragraphe qui fournit des conseils positifs pour la tâche. Ce paramètre est essentiel pour façonner les résultats souhaités.",
"A negative prompt is a text instruction to guide the model on generating the image. It is usually a sentence or a paragraph that provides negative guidance for the task. This parameter helps to avoid certain undesired results.": "Une invite négative est une instruction de texte pour guider le modèle sur la génération de l'image. C'est généralement une phrase ou un paragraphe qui fournit des conseils négatifs pour la tâche. Ce paramètre aide à éviter certains résultats indésirables.",
"Used to define the height dimension of the generated image. Certain models perform better with specific dimensions.": "Utilisé pour définir la dimension de hauteur de l'image générée. Certains modèles fonctionnent mieux avec des dimensions spécifiques.",
"Used to define the width dimension of the generated image. Certain models perform better with specific dimensions.": "Utilisé pour définir la dimension largeur de l'image générée. Certains modèles fonctionnent mieux avec des dimensions spécifiques.",
"The number of steps is the number of iterations the model will perform to generate the image. The higher the number of steps, the more detailed the image will be. However, increasing the number of steps will also increase the time it takes to generate the image and may not always result in a better image (some schedulers work differently).": "Le nombre d'étapes est le nombre d'itérations que le modèle effectuera pour générer l'image. Plus le nombre d'étapes est élevé, plus l'image sera détaillée. Cependant, augmenter le nombre d'étapes augmentera également le temps nécessaire à la génération de l'image et peut ne pas toujours donner lieu à une meilleure image (certains programmeurs travaillent différemment).",
"Guidance scale represents how closely the images will resemble the prompt or how much freedom the AI model has. Higher values are closer to the prompt. Low values may reduce the quality of the results.": "L'échelle d'orientation représente à quel point les images ressembleront à l'invite ou à la liberté du modèle IA. Des valeurs plus élevées sont plus proches de la rapidité. De faibles valeurs peuvent réduire la qualité des résultats.",
"An scheduler is a component that manages the inference process. Different schedulers can be used to achieve different results like more detailed images, faster inference, or more accurate results.": "Un planificateur est un composant qui gère le processus d'inférence. Différents planificateurs peuvent être utilisés pour obtenir des résultats différents comme des images plus détaillées, une inferience plus rapide ou des résultats plus précis.",
"A seed is a value used to randomize the image generation. If you want to make images reproducible (generate the same image multiple times), you can use the same seed value.": "Une graine est une valeur utilisée pour aléatoirer la génération de l'image. Si vous voulez rendre les images reproductibles (générer la même image plusieurs fois), vous pouvez utiliser la même valeur de graine.",
"VAE (Variational Autoencoder) is a type of neural network architecture used for generating images. Some models may require a specific VAE to work properly. If you want to use a specific VAE, you can provide its AIR identifier here.": "VAE (Variational Autocoder) est un type d'architecture réseau neuronal utilisée pour générer des images. Certains modèles peuvent nécessiter un VAE spécifique pour fonctionner correctement. Si vous voulez utiliser un VAE spécifique, vous pouvez fournir son identifiant AIR ici.",
"Defines additional layer skips during prompt processing in the CLIP model. Some models already skip layers by default, this parameter adds extra skips on top of those. Different values affect how your prompt is interpreted, which can lead to variations in the generated image.": "Définit les sauts de couche supplémentaires lors du traitement de l'invite dans le modèle CLIP. Certains modèles ignorent déjà les calques par défaut, ce paramètre ajoute des sauts supplémentaires au dessus de ceux-ci. Différentes valeurs affectent la façon dont votre invite est interprétée, ce qui peut entraîner des variations dans l'image générée.",
"A URL for the seed image to base the generation on.": "Une URL pour l'image de la graine sur laquelle baser la génération.",
"A value between 0 and 1 that indicates how much to transform the seed image. A value of 0 will keep the image as is, while a value of 1 will completely transform it according to the prompt.": "Une valeur comprise entre 0 et 1 qui indique combien il faut transformer l'image de la graine. Une valeur de 0 conservera l'image telle quelle, tandis qu'une valeur de 1 la transformera complètement selon l'invite de commande.",
"The duration of the generated video in seconds.": "La durée de la vidéo générée en secondes.",
"Frames per second for the generated video.": "Images par seconde pour la vidéo générée.",
"The format of the generated video.": "Le format de la vidéo générée.",
"Sets the compression quality of the output video. Higher values preserve more quality but increase file size, lower values reduce file size but decrease quality.": "Définit la qualité de compression de la vidéo de sortie. Des valeurs plus élevées préservent plus de qualité mais augmentent la taille du fichier, des valeurs inférieures réduisent la taille du fichier mais diminuent la qualité.",
"Specifies a URL where the generated content will be automatically uploaded using the HTTP PUT method. The raw binary data of the media file is sent directly as the request body. For secure uploads to cloud storage, use presigned URLs that include temporary authentication credentials.": "Spécifie une URL où le contenu généré sera automatiquement téléchargé en utilisant la méthode HTTP PUT. Les données binaires brutes du fichier média sont envoyées directement en tant que corps de la requête. Pour les téléversements sécurisés vers le stockage cloud, utilisez des URL présignées qui incluent des identifiants d'authentification temporaires.",
"Specifies how many videos to generate for the given parameters. Each video will have the same parameters but different seeds, resulting in variations of the same concept.": "Spécifie le nombre de vidéos à générer pour les paramètres donnés. Chaque vidéo aura les mêmes paramètres mais des graines différentes, entraînant des variations du même concept.",
"A URL for the image to have its background removed.": "Une URL pour que l'image soit supprimée en arrière-plan.",
"The format of the output image with the background removed.": "Le format de l'image de sortie avec l'arrière-plan a été supprimé.",
"Sets the compression quality of the output image. Higher values preserve more quality but increase file size, lower values reduce file size but decrease quality.": "Définit la qualité de compression de l'image de sortie. Des valeurs plus élevées préservent plus de qualité mais augmentent la taille du fichier, des valeurs inférieures réduisent la taille du fichier mais diminuent la qualité.",
"MP4": "MP4",
"WEBM": "WEBM",
"MOV": "MOV",
"PNG": "PNG",
"JPG": "JPG",
"WEBP": "WEBP"
}

View File

@@ -0,0 +1,60 @@
{
"Runware.AI is a high-performance, cost-effective AI media generation API specializing in images and videos. Through this integration, workflows can automatically generate visuals via text or image prompts and interact with Runwares full-featured API.": "Runware.AIは、画像や動画に特化した高性能で費用対効果の高いAIメディア生成APIです。 この統合により、ワークフローは自動的にテキストまたは画像プロンプトを介してビジュアルを生成し、Runwareのフル機能を備えたAPIと対話することができます。",
"You can get the API key from your Runware account": "Runware アカウントから API キーを取得できます",
"Generate Images from Text": "テキストから画像を生成",
"Generate Images from Existing Image": "既存の画像から画像を生成",
"Generate Video from Text": "テキストからビデオを生成",
"Image Background Removal": "背景画像の削除",
"Produce images from a text description.": "テキストの説明から画像を生成する",
"Generate new images based on a provided image (image-to-image).": "指定された画像に基づいて新しい画像を生成します(画像間)。",
"Generate video from text prompt.": "テキストプロンプトからビデオを生成します。",
"Request image background removal.": "背景画像の削除を要求します",
"Model": "モデル",
"Positive Prompt": "正のプロンプト表示",
"Negative Prompt": "否定的なプロンプト表示",
"Height": "高さ",
"Width": "Width",
"Steps": "歩数",
"CFG Scale": "CFGスケール",
"Scheduler": "スケジューラ",
"Seed": "Seed",
"VAE": "VAE",
"Clip Skip": "クリップスキップ",
"Seed Image": "シード画像",
"Strength": "力",
"Duration": "期間",
"FPS": "FPS",
"Output Format": "出力形式",
"Output Quality": "出力品質",
"Upload Endpoint": "エンドポイントをアップロード",
"Number of Results": "結果の数",
"Input Image": "入力画像",
"You can find model in the Model Explorer (https://my.runware.ai/models/all) tool.": "モデルエクスプローラ(https://my.runware.ai/models/all)ツールでモデルを見つけることができます。",
"A positive prompt is a text instruction to guide the model on generating the image. It is usually a sentence or a paragraph that provides positive guidance for the task. This parameter is essential to shape the desired results.": "正のプロンプトは、画像の生成時にモデルを指示するテキスト命令です。 これは、通常、タスクの正のガイダンスを提供する文章または段落です。このパラメータは、目的の結果を形成するために不可欠です。",
"A negative prompt is a text instruction to guide the model on generating the image. It is usually a sentence or a paragraph that provides negative guidance for the task. This parameter helps to avoid certain undesired results.": "負のプロンプトは、画像の生成時にモデルをガイドするためのテキスト命令です。 これは通常、文章またはタスクの負のガイダンスを提供する段落です。このパラメータは、望ましくない特定の結果を避けるのに役立ちます。",
"Used to define the height dimension of the generated image. Certain models perform better with specific dimensions.": "生成された画像の高さの寸法を定義するために使用します。特定のモデルでは、特定の寸法でパフォーマンスが向上します。",
"Used to define the width dimension of the generated image. Certain models perform better with specific dimensions.": "生成された画像の幅の寸法を定義するために使用します。特定のモデルでは、特定の寸法でパフォーマンスが向上します。",
"The number of steps is the number of iterations the model will perform to generate the image. The higher the number of steps, the more detailed the image will be. However, increasing the number of steps will also increase the time it takes to generate the image and may not always result in a better image (some schedulers work differently).": "ステップ数は、モデルがイメージを生成するために実行する反復回数です。 ステップ数が多いほど、画像が詳細になります。 ただし、 ステップ数を増やすと、画像の生成にかかる時間も増え、常により良い画像が得られるとは限りません(スケジューラによっては異なる作業が行われることもあります)。",
"Guidance scale represents how closely the images will resemble the prompt or how much freedom the AI model has. Higher values are closer to the prompt. Low values may reduce the quality of the results.": "ガイダンススケールは、画像がプロンプトにどの程度似ているか、またはAIモデルの自由度を表しています。 値が高いほどプロンプトに近づきます。低い値は結果の品質を下げる可能性があります。",
"An scheduler is a component that manages the inference process. Different schedulers can be used to achieve different results like more detailed images, faster inference, or more accurate results.": "スケジューラは推論プロセスを管理するコンポーネントです。 異なるスケジューラを使用して、より詳細な画像、より高速な推論、より正確な結果など、さまざまな結果を得ることができます。",
"A seed is a value used to randomize the image generation. If you want to make images reproducible (generate the same image multiple times), you can use the same seed value.": "シードは、画像生成をランダム化するために使用される値です。 (同じ画像を複数回生成する)画像を再現可能にしたい場合は、同じシード値を使用できます。",
"VAE (Variational Autoencoder) is a type of neural network architecture used for generating images. Some models may require a specific VAE to work properly. If you want to use a specific VAE, you can provide its AIR identifier here.": "VAE(Variational Autoencoder)は、画像の生成に使用されるニューラルネットワークアーキテクチャの一種です。 一部のモデルでは、特定のVAEを正常に動作させる必要がある場合があります。特定のVAEを使用したい場合は、ここでAIR識別子を提供できます。",
"Defines additional layer skips during prompt processing in the CLIP model. Some models already skip layers by default, this parameter adds extra skips on top of those. Different values affect how your prompt is interpreted, which can lead to variations in the generated image.": "CLIPモデルでのプロンプト処理中に追加のレイヤースキップを定義します。 既定ではレイヤーをスキップしているモデルもありますが、このパラメータはその上にスキップを追加します。 値が異なると、プロンプトがどのように解釈されるかに影響し、生成されたイメージのバリエーションが生成されます。",
"A URL for the seed image to base the generation on.": "世代を基にしたシード画像のURL。",
"A value between 0 and 1 that indicates how much to transform the seed image. A value of 0 will keep the image as is, while a value of 1 will completely transform it according to the prompt.": "0から1の間の値で、シード画像をどれだけ変換するかを示します。 値が 0 の場合、画像はそのまま残り、値が 1 の場合はプロンプトに従って完全に変換されます。",
"The duration of the generated video in seconds.": "生成されたビデオの長さを秒単位で指定します。",
"Frames per second for the generated video.": "生成されたビデオのフレーム/秒。",
"The format of the generated video.": "生成されたビデオの形式。",
"Sets the compression quality of the output video. Higher values preserve more quality but increase file size, lower values reduce file size but decrease quality.": "出力ビデオの圧縮品質を設定します。値が大きいほど品質は維持されますが、ファイルサイズが大きくなります。値が小さいほどファイルサイズが小さくなりますが、品質が低下します。",
"Specifies a URL where the generated content will be automatically uploaded using the HTTP PUT method. The raw binary data of the media file is sent directly as the request body. For secure uploads to cloud storage, use presigned URLs that include temporary authentication credentials.": "HTTP PUT メソッドを使用して、生成されたコンテンツを自動的にアップロードする URL を指定します。 メディアファイルの生バイナリデータはリクエストボディとして直接送信されます。 クラウドストレージにセキュアにアップロードするには、一時認証資格情報を含む事前に設定された URL を使用します。",
"Specifies how many videos to generate for the given parameters. Each video will have the same parameters but different seeds, resulting in variations of the same concept.": "与えられたパラメータに生成する動画の数を指定します。 各ビデオには同じパラメータがありますが、異なる種があり、同じ概念のバリエーションが生じます。",
"A URL for the image to have its background removed.": "画像の背景を削除するためのURL。",
"The format of the output image with the background removed.": "背景が削除された出力イメージの書式。",
"Sets the compression quality of the output image. Higher values preserve more quality but increase file size, lower values reduce file size but decrease quality.": "出力画像の圧縮品質を設定します。値が大きいほど品質は維持されますが、ファイルサイズが大きくなります。値が小さいほどファイルサイズが小さくなりますが、品質が低下します。",
"MP4": "MP4",
"WEBM": "WEBM",
"MOV": "MOV",
"PNG": "PNG",
"JPG": "JPG",
"WEBP": "WEBP"
}

View File

@@ -0,0 +1,60 @@
{
"Runware.AI is a high-performance, cost-effective AI media generation API specializing in images and videos. Through this integration, workflows can automatically generate visuals via text or image prompts and interact with Runwares full-featured API.": "Runware.AI is een hoogwaardige prestaties, kosteneffectieve AI media-API gespecialiseerd in afbeeldingen en video's. Door deze integratie kunnen workflows automatisch visuals genereren via tekst of afbeelding prompts en interactie met Runwares volledige API.",
"You can get the API key from your Runware account": "U kunt de API-sleutel van uw Runware account krijgen",
"Generate Images from Text": "Afbeeldingen van tekst genereren",
"Generate Images from Existing Image": "Genereer afbeeldingen van bestaande afbeelding",
"Generate Video from Text": "Genereer video van tekst",
"Image Background Removal": "Achtergrond verwijderen van afbeelding",
"Produce images from a text description.": "Produceer afbeeldingen uit een tekstomschrijving.",
"Generate new images based on a provided image (image-to-image).": "Genereer nieuwe afbeeldingen op basis van een geleverde afbeelding (afbeelding naar-afbeelding).",
"Generate video from text prompt.": "Genereer video van tekst prompt.",
"Request image background removal.": "Achtergrondverwijdering van afbeelding aanvragen.",
"Model": "Model",
"Positive Prompt": "Positieve prompt",
"Negative Prompt": "Negatieve Prompt",
"Height": "Højde",
"Width": "Width",
"Steps": "Stappen",
"CFG Scale": "CFG schaal",
"Scheduler": "Taakplanner",
"Seed": "Seed",
"VAE": "VAE",
"Clip Skip": "Clip Overslaan",
"Seed Image": "Seed afbeelding",
"Strength": "Sterkte",
"Duration": "Tijdsduur",
"FPS": "FPS",
"Output Format": "Uitvoer formaat",
"Output Quality": "Uitvoer Kwaliteit",
"Upload Endpoint": "Eindpunt uploaden",
"Number of Results": "Aantal resultaten",
"Input Image": "Afbeelding invoeren",
"You can find model in the Model Explorer (https://my.runware.ai/models/all) tool.": "Je kunt het model vinden in de Model Explorer (https://my.runware.ai/models/all) tool.",
"A positive prompt is a text instruction to guide the model on generating the image. It is usually a sentence or a paragraph that provides positive guidance for the task. This parameter is essential to shape the desired results.": "Een positieve prompt is een tekstinstructie om het model voor het genereren van de afbeelding te begeleiden. Het is meestal een zin of alinea die positieve begeleiding geeft voor de taak. Deze parameter is essentieel om de gewenste resultaten te vormen.",
"A negative prompt is a text instruction to guide the model on generating the image. It is usually a sentence or a paragraph that provides negative guidance for the task. This parameter helps to avoid certain undesired results.": "Een negatieve prompt is een tekstinstructie om het model voor het genereren van de afbeelding te begeleiden. Het is meestal een zin of alinea die negatieve begeleiding geeft voor de taak. Deze parameter helpt om bepaalde ongewenste resultaten te vermijden.",
"Used to define the height dimension of the generated image. Certain models perform better with specific dimensions.": "Gebruikt om de hoogte dimensie van de gegenereerde afbeelding te definiëren. Bepaalde modellen presteren beter met specifieke afmetingen.",
"Used to define the width dimension of the generated image. Certain models perform better with specific dimensions.": "Gebruikt om de breedte van de gegenereerde afbeelding te definiëren. Bepaalde modellen presteren beter met specifieke afmetingen.",
"The number of steps is the number of iterations the model will perform to generate the image. The higher the number of steps, the more detailed the image will be. However, increasing the number of steps will also increase the time it takes to generate the image and may not always result in a better image (some schedulers work differently).": "Het aantal stappen is het aantal herhalingen dat het model zal uitvoeren om de afbeelding te genereren. Hoe hoger het aantal stappen, hoe gedetailleerder de afbeelding zal zijn. Maar Het verhogen van het aantal stappen zal ook de tijd verhogen die nodig is om de afbeelding te genereren en zal niet altijd leiden tot een beter beeld (sommige planners werken andersom).",
"Guidance scale represents how closely the images will resemble the prompt or how much freedom the AI model has. Higher values are closer to the prompt. Low values may reduce the quality of the results.": "Oriëntatieschaal geeft aan hoe dicht de beelden zullen lijken op de prompt of op de vrijheid die het AI-model heeft. Hogere waarden staan dichter bij de snelheid. Lage waarden kunnen de kwaliteit van de resultaten verminderen.",
"An scheduler is a component that manages the inference process. Different schedulers can be used to achieve different results like more detailed images, faster inference, or more accurate results.": "Een planner is een component die het gevolgproces beheert. Verschillende schedulers kunnen worden gebruikt om verschillende resultaten te bereiken, zoals meer gedetailleerde afbeeldingen, snellere gegevens of nauwkeurigere resultaten.",
"A seed is a value used to randomize the image generation. If you want to make images reproducible (generate the same image multiple times), you can use the same seed value.": "Een seed is een waarde die gebruikt wordt voor het willekeurig genereren van de afbeelding. Als u wilt dat afbeeldingen reproduceerbaar zijn (dezelfde afbeelding meerdere keren genereren), kunt u dezelfde seed waarde gebruiken.",
"VAE (Variational Autoencoder) is a type of neural network architecture used for generating images. Some models may require a specific VAE to work properly. If you want to use a specific VAE, you can provide its AIR identifier here.": "VAE (Variational Autoencoder) is een type neurale netwerk architectuur die wordt gebruikt voor het genereren van afbeeldingen. Sommige modellen vereisen een specifieke VAE om goed te werken. Als u een specifieke VAE wilt gebruiken, kunt u hier de AIR-identificatie verstrekken.",
"Defines additional layer skips during prompt processing in the CLIP model. Some models already skip layers by default, this parameter adds extra skips on top of those. Different values affect how your prompt is interpreted, which can lead to variations in the generated image.": "Definieert extra laagoverslaan tijdens prompt verwerken in het CLIP-model. Sommige modellen overslaan standaard lagen, deze parameter voegt extra skips toe bovenop deze modellen. Verschillende waarden beïnvloeden hoe je prompt wordt geïnterpreteerd, wat kan leiden tot variaties in de gegenereerde afbeelding.",
"A URL for the seed image to base the generation on.": "Een URL voor de seed image om de generatie op te baseren.",
"A value between 0 and 1 that indicates how much to transform the seed image. A value of 0 will keep the image as is, while a value of 1 will completely transform it according to the prompt.": "Een waarde tussen 0 en 1 die aangeeft hoeveel u wilt wijzigen van de seed afbeelding. Een waarde van 0 houdt de afbeelding zoals het is, terwijl een waarde van 1 volledig zal transformeren naar de prompt.",
"The duration of the generated video in seconds.": "De duur van de gegenereerde video in seconden.",
"Frames per second for the generated video.": "Frames per seconde voor de gegenereerde video.",
"The format of the generated video.": "Het formaat van de gegenereerde video.",
"Sets the compression quality of the output video. Higher values preserve more quality but increase file size, lower values reduce file size but decrease quality.": "Stelt de compressiekwaliteit van de uitvoer video in. Hogere waarden behouden meer kwaliteit, maar vergroten de bestandsgrootte, lagere waarden verminderen de bestandsgrootte maar verlagen de kwaliteit.",
"Specifies a URL where the generated content will be automatically uploaded using the HTTP PUT method. The raw binary data of the media file is sent directly as the request body. For secure uploads to cloud storage, use presigned URLs that include temporary authentication credentials.": "Geeft een URL aan waar de gegenereerde inhoud automatisch wordt geüpload met behulp van de HTTP-PUT-methode. De ruwe binaire gegevens van het mediabestand worden direct verzonden als de body van de aanvraag. Voor beveiligde uploads naar de cloud opslag, gebruik voorgeprogrammeerde URL's die tijdelijke authenticatiegegevens bevatten.",
"Specifies how many videos to generate for the given parameters. Each video will have the same parameters but different seeds, resulting in variations of the same concept.": "Geeft aan hoeveel video's moeten worden gegenereerd voor de gegeven parameters. Elke video heeft dezelfde parameters maar verschillende seeds, wat resulteert in variaties van hetzelfde concept.",
"A URL for the image to have its background removed.": "URL om de afbeelding zijn achtergrond te laten verwijderen.",
"The format of the output image with the background removed.": "Het formaat van de uitvoerafbeelding met de achtergrond verwijderd.",
"Sets the compression quality of the output image. Higher values preserve more quality but increase file size, lower values reduce file size but decrease quality.": "Stelt de compressiekwaliteit van de uitvoerafbeelding in. Hogere waarden behouden meer kwaliteit, maar vergroten de bestandsgrootte, lagere waarden verminderen de bestandsgrootte maar verminderen de kwaliteit.",
"MP4": "MP4",
"WEBM": "WEBM",
"MOV": "mv",
"PNG": "PNG",
"JPG": "JPG",
"WEBP": "WEBP"
}

View File

@@ -0,0 +1,60 @@
{
"Runware.AI is a high-performance, cost-effective AI media generation API specializing in images and videos. Through this integration, workflows can automatically generate visuals via text or image prompts and interact with Runwares full-featured API.": "Runware.AI é uma API de alta performance, econômica e de geração de mídia de IA especializada em imagens e vídeos. Através dessa integração, os fluxos de trabalho podem gerar automaticamente imagens visuais através de prompts de texto ou imagem e interagir com a API completa do Runware.",
"You can get the API key from your Runware account": "Você pode obter a chave de API da sua conta do Runware",
"Generate Images from Text": "Gerar imagens a partir do texto",
"Generate Images from Existing Image": "Gerar imagens a partir da imagem existente",
"Generate Video from Text": "Gerar vídeo a partir do texto",
"Image Background Removal": "Remoção de fundo de imagem",
"Produce images from a text description.": "Produza imagens a partir de uma descrição de texto.",
"Generate new images based on a provided image (image-to-image).": "Gerar novas imagens baseado na imagem fornecida (image-to-image).",
"Generate video from text prompt.": "Gerar vídeo a partir do prompt de texto.",
"Request image background removal.": "Solicitar remoção de fundo da imagem.",
"Model": "Modelo",
"Positive Prompt": "Solicitação positiva",
"Negative Prompt": "Aviso Negativo",
"Height": "Altura",
"Width": "Width",
"Steps": "Passos",
"CFG Scale": "Escala de CFG",
"Scheduler": "Agendar",
"Seed": "Semente",
"VAE": "VAE",
"Clip Skip": "Ignorar Clipe",
"Seed Image": "Imagem de Semente",
"Strength": "Intensidade",
"Duration": "Duração",
"FPS": "FPS",
"Output Format": "Formato de saída",
"Output Quality": "Qualidade de saída",
"Upload Endpoint": "Upload de Endpoint",
"Number of Results": "Número de Resultados",
"Input Image": "Imagem de entrada",
"You can find model in the Model Explorer (https://my.runware.ai/models/all) tool.": "Você pode encontrar o modelo na ferramenta Model Explorer (https://my.runware.ai/models/all).",
"A positive prompt is a text instruction to guide the model on generating the image. It is usually a sentence or a paragraph that provides positive guidance for the task. This parameter is essential to shape the desired results.": "Um prompt positivo é uma instrução de texto para orientar o modelo a gerar a imagem. Geralmente, é uma frase ou um parágrafo que fornece orientação positiva para a tarefa. Este parâmetro é essencial para moldar os resultados desejados.",
"A negative prompt is a text instruction to guide the model on generating the image. It is usually a sentence or a paragraph that provides negative guidance for the task. This parameter helps to avoid certain undesired results.": "Um prompt negativo é uma instrução de texto para guiar o modelo ao gerar a imagem. Geralmente, é uma frase ou um parágrafo que fornece orientação negativa para a tarefa. Este parâmetro ajuda a evitar certos resultados indesejados.",
"Used to define the height dimension of the generated image. Certain models perform better with specific dimensions.": "Usado para definir a dimensão altura da imagem gerada. Certos modelos realizam um melhor desempenho com dimensões específicas.",
"Used to define the width dimension of the generated image. Certain models perform better with specific dimensions.": "Usado para definir a dimensão de largura da imagem gerada. Certos modelos realizam um melhor desempenho com dimensões específicas.",
"The number of steps is the number of iterations the model will perform to generate the image. The higher the number of steps, the more detailed the image will be. However, increasing the number of steps will also increase the time it takes to generate the image and may not always result in a better image (some schedulers work differently).": "O número de passos é o número de iterações que o modelo irá realizar para gerar a imagem. Quanto maior o número de etapas, mais detalhada será a imagem. No entanto aumentar o número de passos também aumentará o tempo necessário para gerar a imagem e poderá nem sempre resultar em uma imagem melhor (alguns programadores trabalham de maneira diferente).",
"Guidance scale represents how closely the images will resemble the prompt or how much freedom the AI model has. Higher values are closer to the prompt. Low values may reduce the quality of the results.": "A escala de orientação representa o quão próximas as imagens se assemelharão ao rápido ou à liberdade que o modelo de IA possui. Valores mais altos estão mais próximos do prompt . Valores baixos podem reduzir a qualidade dos resultados.",
"An scheduler is a component that manages the inference process. Different schedulers can be used to achieve different results like more detailed images, faster inference, or more accurate results.": "Um agendador é um componente que gerencia o processo de inferência. Diferentes agendadores podem ser usados para alcançar resultados diferentes, como imagens mais detalhadas, inferência mais rápida ou resultados mais precisos.",
"A seed is a value used to randomize the image generation. If you want to make images reproducible (generate the same image multiple times), you can use the same seed value.": "Uma Seed é um valor usado para randomizar a geração de imagem. Se você quiser tornar as imagens reprodutíveis (gerar a mesma imagem várias vezes), você pode usar o mesmo valor de semente.",
"VAE (Variational Autoencoder) is a type of neural network architecture used for generating images. Some models may require a specific VAE to work properly. If you want to use a specific VAE, you can provide its AIR identifier here.": "O VAE (codificador automático variável) é um tipo de arquitetura de rede neural usada para gerar imagens. Alguns modelos podem exigir um VAE específico para funcionar corretamente. Se você quiser usar um VAE específico, você pode fornecer seu identificador AIR aqui.",
"Defines additional layer skips during prompt processing in the CLIP model. Some models already skip layers by default, this parameter adds extra skips on top of those. Different values affect how your prompt is interpreted, which can lead to variations in the generated image.": "Define os saltos de camada adicionais durante o processamento do prompt no modelo CLIP. Alguns modelos já ignoram camadas por padrão, esse parâmetro adiciona saltos extras em cima delas. Diferentes valores afetam como seu prompt é interpretado, o que pode levar a variações na imagem gerada.",
"A URL for the seed image to base the generation on.": "Uma URL para a imagem de semente basear a geração.",
"A value between 0 and 1 that indicates how much to transform the seed image. A value of 0 will keep the image as is, while a value of 1 will completely transform it according to the prompt.": "Um valor entre 0 e 1 que indica quanto transformar a imagem de seed. Um valor de 0 manterá a imagem como está, enquanto um valor de 1 transformará completamente de acordo com o prompt.",
"The duration of the generated video in seconds.": "A duração do vídeo gerado em segundos.",
"Frames per second for the generated video.": "Quadros por segundo para o vídeo gerado.",
"The format of the generated video.": "O formato do vídeo gerado.",
"Sets the compression quality of the output video. Higher values preserve more quality but increase file size, lower values reduce file size but decrease quality.": "Define a qualidade de compressão do vídeo de saída. Valores maiores preservam mais qualidade, mas aumentam o tamanho do arquivo, valores mais baixos reduzem o tamanho do arquivo, mas diminuem a qualidade.",
"Specifies a URL where the generated content will be automatically uploaded using the HTTP PUT method. The raw binary data of the media file is sent directly as the request body. For secure uploads to cloud storage, use presigned URLs that include temporary authentication credentials.": "Especifica uma URL onde o conteúdo gerado será automaticamente carregado usando o método HTTP PUT. Os dados binários brutos do arquivo de mídia são enviados diretamente como o corpo da solicitação. Para envios seguros para o armazenamento em nuvem, use URLs pré-assinadas que incluem credenciais de autenticação temporária.",
"Specifies how many videos to generate for the given parameters. Each video will have the same parameters but different seeds, resulting in variations of the same concept.": "Especifica quantos vídeos gerar para os parâmetros indicados. Cada vídeo terá os mesmos parâmetros, mas sementes diferentes, resultando em variações do mesmo conceito.",
"A URL for the image to have its background removed.": "Um URL para a imagem ter seu plano de fundo removido.",
"The format of the output image with the background removed.": "O formato da imagem de saída do plano de fundo removido.",
"Sets the compression quality of the output image. Higher values preserve more quality but increase file size, lower values reduce file size but decrease quality.": "Define a qualidade de compressão da imagem de saída. Valores maiores preservam mais qualidade, mas aumentam o tamanho do arquivo, valores mais baixos reduzem o tamanho do arquivo, mas diminuem a qualidade.",
"MP4": "MP4",
"WEBM": "WEBM",
"MOV": "MOV",
"PNG": "PNG",
"JPG": "Jpg",
"WEBP": "WEBP"
}

View File

@@ -0,0 +1,60 @@
{
"Runware.AI is a high-performance, cost-effective AI media generation API specializing in images and videos. Through this integration, workflows can automatically generate visuals via text or image prompts and interact with Runwares full-featured API.": "Runware.AI is a high-performance, cost-effective AI media generation API specializing in images and videos. Through this integration, workflows can automatically generate visuals via text or image prompts and interact with Runwares full-featured API.",
"You can get the API key from your Runware account": "You can get the API key from your Runware account",
"Generate Images from Text": "Generate Images from Text",
"Generate Images from Existing Image": "Generate Images from Existing Image",
"Generate Video from Text": "Generate Video from Text",
"Image Background Removal": "Image Background Removal",
"Produce images from a text description.": "Produce images from a text description.",
"Generate new images based on a provided image (image-to-image).": "Generate new images based on a provided image (image-to-image).",
"Generate video from text prompt.": "Generate video from text prompt.",
"Request image background removal.": "Request image background removal.",
"Model": "Model",
"Positive Prompt": "Positive Prompt",
"Negative Prompt": "Negative Prompt",
"Height": "Height",
"Width": "Width",
"Steps": "Steps",
"CFG Scale": "CFG Scale",
"Scheduler": "Scheduler",
"Seed": "Seed",
"VAE": "VAE",
"Clip Skip": "Clip Skip",
"Seed Image": "Seed Image",
"Strength": "Strength",
"Duration": "Duration",
"FPS": "FPS",
"Output Format": "Output Format",
"Output Quality": "Output Quality",
"Upload Endpoint": "Upload Endpoint",
"Number of Results": "Number of Results",
"Input Image": "Input Image",
"You can find model in the Model Explorer (https://my.runware.ai/models/all) tool.": "You can find model in the Model Explorer (https://my.runware.ai/models/all) tool.",
"A positive prompt is a text instruction to guide the model on generating the image. It is usually a sentence or a paragraph that provides positive guidance for the task. This parameter is essential to shape the desired results.": "A positive prompt is a text instruction to guide the model on generating the image. It is usually a sentence or a paragraph that provides positive guidance for the task. This parameter is essential to shape the desired results.",
"A negative prompt is a text instruction to guide the model on generating the image. It is usually a sentence or a paragraph that provides negative guidance for the task. This parameter helps to avoid certain undesired results.": "A negative prompt is a text instruction to guide the model on generating the image. It is usually a sentence or a paragraph that provides negative guidance for the task. This parameter helps to avoid certain undesired results.",
"Used to define the height dimension of the generated image. Certain models perform better with specific dimensions.": "Used to define the height dimension of the generated image. Certain models perform better with specific dimensions.",
"Used to define the width dimension of the generated image. Certain models perform better with specific dimensions.": "Used to define the width dimension of the generated image. Certain models perform better with specific dimensions.",
"The number of steps is the number of iterations the model will perform to generate the image. The higher the number of steps, the more detailed the image will be. However, increasing the number of steps will also increase the time it takes to generate the image and may not always result in a better image (some schedulers work differently).": "The number of steps is the number of iterations the model will perform to generate the image. The higher the number of steps, the more detailed the image will be. However, increasing the number of steps will also increase the time it takes to generate the image and may not always result in a better image (some schedulers work differently).",
"Guidance scale represents how closely the images will resemble the prompt or how much freedom the AI model has. Higher values are closer to the prompt. Low values may reduce the quality of the results.": "Guidance scale represents how closely the images will resemble the prompt or how much freedom the AI model has. Higher values are closer to the prompt. Low values may reduce the quality of the results.",
"An scheduler is a component that manages the inference process. Different schedulers can be used to achieve different results like more detailed images, faster inference, or more accurate results.": "An scheduler is a component that manages the inference process. Different schedulers can be used to achieve different results like more detailed images, faster inference, or more accurate results.",
"A seed is a value used to randomize the image generation. If you want to make images reproducible (generate the same image multiple times), you can use the same seed value.": "A seed is a value used to randomize the image generation. If you want to make images reproducible (generate the same image multiple times), you can use the same seed value.",
"VAE (Variational Autoencoder) is a type of neural network architecture used for generating images. Some models may require a specific VAE to work properly. If you want to use a specific VAE, you can provide its AIR identifier here.": "VAE (Variational Autoencoder) is a type of neural network architecture used for generating images. Some models may require a specific VAE to work properly. If you want to use a specific VAE, you can provide its AIR identifier here.",
"Defines additional layer skips during prompt processing in the CLIP model. Some models already skip layers by default, this parameter adds extra skips on top of those. Different values affect how your prompt is interpreted, which can lead to variations in the generated image.": "Defines additional layer skips during prompt processing in the CLIP model. Some models already skip layers by default, this parameter adds extra skips on top of those. Different values affect how your prompt is interpreted, which can lead to variations in the generated image.",
"A URL for the seed image to base the generation on.": "A URL for the seed image to base the generation on.",
"A value between 0 and 1 that indicates how much to transform the seed image. A value of 0 will keep the image as is, while a value of 1 will completely transform it according to the prompt.": "A value between 0 and 1 that indicates how much to transform the seed image. A value of 0 will keep the image as is, while a value of 1 will completely transform it according to the prompt.",
"The duration of the generated video in seconds.": "The duration of the generated video in seconds.",
"Frames per second for the generated video.": "Frames per second for the generated video.",
"The format of the generated video.": "The format of the generated video.",
"Sets the compression quality of the output video. Higher values preserve more quality but increase file size, lower values reduce file size but decrease quality.": "Sets the compression quality of the output video. Higher values preserve more quality but increase file size, lower values reduce file size but decrease quality.",
"Specifies a URL where the generated content will be automatically uploaded using the HTTP PUT method. The raw binary data of the media file is sent directly as the request body. For secure uploads to cloud storage, use presigned URLs that include temporary authentication credentials.": "Specifies a URL where the generated content will be automatically uploaded using the HTTP PUT method. The raw binary data of the media file is sent directly as the request body. For secure uploads to cloud storage, use presigned URLs that include temporary authentication credentials.",
"Specifies how many videos to generate for the given parameters. Each video will have the same parameters but different seeds, resulting in variations of the same concept.": "Specifies how many videos to generate for the given parameters. Each video will have the same parameters but different seeds, resulting in variations of the same concept.",
"A URL for the image to have its background removed.": "A URL for the image to have its background removed.",
"The format of the output image with the background removed.": "The format of the output image with the background removed.",
"Sets the compression quality of the output image. Higher values preserve more quality but increase file size, lower values reduce file size but decrease quality.": "Sets the compression quality of the output image. Higher values preserve more quality but increase file size, lower values reduce file size but decrease quality.",
"MP4": "MP4",
"WEBM": "WEBM",
"MOV": "MOV",
"PNG": "PNG",
"JPG": "JPG",
"WEBP": "WEBP"
}

View File

@@ -0,0 +1,60 @@
{
"Runware.AI is a high-performance, cost-effective AI media generation API specializing in images and videos. Through this integration, workflows can automatically generate visuals via text or image prompts and interact with Runwares full-featured API.": "Runware.AI is a high-performance, cost-effective AI media generation API specializing in images and videos. Through this integration, workflows can automatically generate visuals via text or image prompts and interact with Runwares full-featured API.",
"You can get the API key from your Runware account": "You can get the API key from your Runware account",
"Generate Images from Text": "Generate Images from Text",
"Generate Images from Existing Image": "Generate Images from Existing Image",
"Generate Video from Text": "Generate Video from Text",
"Image Background Removal": "Image Background Removal",
"Produce images from a text description.": "Produce images from a text description.",
"Generate new images based on a provided image (image-to-image).": "Generate new images based on a provided image (image-to-image).",
"Generate video from text prompt.": "Generate video from text prompt.",
"Request image background removal.": "Request image background removal.",
"Model": "Model",
"Positive Prompt": "Positive Prompt",
"Negative Prompt": "Negative Prompt",
"Height": "Height",
"Width": "Width",
"Steps": "Steps",
"CFG Scale": "CFG Scale",
"Scheduler": "Scheduler",
"Seed": "Seed",
"VAE": "VAE",
"Clip Skip": "Clip Skip",
"Seed Image": "Seed Image",
"Strength": "Strength",
"Duration": "期限",
"FPS": "FPS",
"Output Format": "Output Format",
"Output Quality": "Output Quality",
"Upload Endpoint": "Upload Endpoint",
"Number of Results": "Number of Results",
"Input Image": "Input Image",
"You can find model in the Model Explorer (https://my.runware.ai/models/all) tool.": "You can find model in the Model Explorer (https://my.runware.ai/models/all) tool.",
"A positive prompt is a text instruction to guide the model on generating the image. It is usually a sentence or a paragraph that provides positive guidance for the task. This parameter is essential to shape the desired results.": "A positive prompt is a text instruction to guide the model on generating the image. It is usually a sentence or a paragraph that provides positive guidance for the task. This parameter is essential to shape the desired results.",
"A negative prompt is a text instruction to guide the model on generating the image. It is usually a sentence or a paragraph that provides negative guidance for the task. This parameter helps to avoid certain undesired results.": "A negative prompt is a text instruction to guide the model on generating the image. It is usually a sentence or a paragraph that provides negative guidance for the task. This parameter helps to avoid certain undesired results.",
"Used to define the height dimension of the generated image. Certain models perform better with specific dimensions.": "Used to define the height dimension of the generated image. Certain models perform better with specific dimensions.",
"Used to define the width dimension of the generated image. Certain models perform better with specific dimensions.": "Used to define the width dimension of the generated image. Certain models perform better with specific dimensions.",
"The number of steps is the number of iterations the model will perform to generate the image. The higher the number of steps, the more detailed the image will be. However, increasing the number of steps will also increase the time it takes to generate the image and may not always result in a better image (some schedulers work differently).": "The number of steps is the number of iterations the model will perform to generate the image. The higher the number of steps, the more detailed the image will be. However, increasing the number of steps will also increase the time it takes to generate the image and may not always result in a better image (some schedulers work differently).",
"Guidance scale represents how closely the images will resemble the prompt or how much freedom the AI model has. Higher values are closer to the prompt. Low values may reduce the quality of the results.": "Guidance scale represents how closely the images will resemble the prompt or how much freedom the AI model has. Higher values are closer to the prompt. Low values may reduce the quality of the results.",
"An scheduler is a component that manages the inference process. Different schedulers can be used to achieve different results like more detailed images, faster inference, or more accurate results.": "An scheduler is a component that manages the inference process. Different schedulers can be used to achieve different results like more detailed images, faster inference, or more accurate results.",
"A seed is a value used to randomize the image generation. If you want to make images reproducible (generate the same image multiple times), you can use the same seed value.": "A seed is a value used to randomize the image generation. If you want to make images reproducible (generate the same image multiple times), you can use the same seed value.",
"VAE (Variational Autoencoder) is a type of neural network architecture used for generating images. Some models may require a specific VAE to work properly. If you want to use a specific VAE, you can provide its AIR identifier here.": "VAE (Variational Autoencoder) is a type of neural network architecture used for generating images. Some models may require a specific VAE to work properly. If you want to use a specific VAE, you can provide its AIR identifier here.",
"Defines additional layer skips during prompt processing in the CLIP model. Some models already skip layers by default, this parameter adds extra skips on top of those. Different values affect how your prompt is interpreted, which can lead to variations in the generated image.": "Defines additional layer skips during prompt processing in the CLIP model. Some models already skip layers by default, this parameter adds extra skips on top of those. Different values affect how your prompt is interpreted, which can lead to variations in the generated image.",
"A URL for the seed image to base the generation on.": "A URL for the seed image to base the generation on.",
"A value between 0 and 1 that indicates how much to transform the seed image. A value of 0 will keep the image as is, while a value of 1 will completely transform it according to the prompt.": "A value between 0 and 1 that indicates how much to transform the seed image. A value of 0 will keep the image as is, while a value of 1 will completely transform it according to the prompt.",
"The duration of the generated video in seconds.": "The duration of the generated video in seconds.",
"Frames per second for the generated video.": "Frames per second for the generated video.",
"The format of the generated video.": "The format of the generated video.",
"Sets the compression quality of the output video. Higher values preserve more quality but increase file size, lower values reduce file size but decrease quality.": "Sets the compression quality of the output video. Higher values preserve more quality but increase file size, lower values reduce file size but decrease quality.",
"Specifies a URL where the generated content will be automatically uploaded using the HTTP PUT method. The raw binary data of the media file is sent directly as the request body. For secure uploads to cloud storage, use presigned URLs that include temporary authentication credentials.": "Specifies a URL where the generated content will be automatically uploaded using the HTTP PUT method. The raw binary data of the media file is sent directly as the request body. For secure uploads to cloud storage, use presigned URLs that include temporary authentication credentials.",
"Specifies how many videos to generate for the given parameters. Each video will have the same parameters but different seeds, resulting in variations of the same concept.": "Specifies how many videos to generate for the given parameters. Each video will have the same parameters but different seeds, resulting in variations of the same concept.",
"A URL for the image to have its background removed.": "A URL for the image to have its background removed.",
"The format of the output image with the background removed.": "The format of the output image with the background removed.",
"Sets the compression quality of the output image. Higher values preserve more quality but increase file size, lower values reduce file size but decrease quality.": "Sets the compression quality of the output image. Higher values preserve more quality but increase file size, lower values reduce file size but decrease quality.",
"MP4": "MP4",
"WEBM": "WEBM",
"MOV": "MOV",
"PNG": "PNG",
"JPG": "JPG",
"WEBP": "WEBP"
}

View File

@@ -0,0 +1,24 @@
import { createPiece } from '@activepieces/pieces-framework';
import { PieceCategory } from '@activepieces/shared';
import { generateImagesFromExistingImage } from './lib/actions/generate-images-from-existing-image';
import { generateImagesFromText } from './lib/actions/generate-images-from-text';
import { generateVideoFromText } from './lib/actions/generate-video-from-text';
import { imageBackgroundRemoval } from './lib/actions/image-background-removal';
import { runwareAuth } from './lib/common';
export const runware = createPiece({
displayName: 'Runware',
description:'Runware.AI is a high-performance, cost-effective AI media generation API specializing in images and videos. Through this integration, workflows can automatically generate visuals via text or image prompts and interact with Runwares full-featured API.',
categories: [PieceCategory.ARTIFICIAL_INTELLIGENCE],
auth: runwareAuth,
minimumSupportedRelease: '0.36.1',
logoUrl: 'https://cdn.activepieces.com/pieces/runware.png',
authors: ['LuizDMM','sanket-a11y'],
actions: [
generateImagesFromText,
generateImagesFromExistingImage,
generateVideoFromText,
imageBackgroundRemoval,
],
triggers: [],
});

View File

@@ -0,0 +1,21 @@
import { propsValidation } from '@activepieces/pieces-common';
import { createAction } from '@activepieces/pieces-framework';
import { runwareAuth, runwareCommon } from '../common';
export const generateImagesFromExistingImage = createAction({
auth: runwareAuth,
name: 'generateImagesFromExistingImage',
displayName: 'Generate Images from Existing Image',
description: 'Generate new images based on a provided image (image-to-image).',
props: runwareCommon.generateImagesFromExistingImageProperties,
async run({ auth: apiKey, propsValue }) {
await propsValidation.validateZod(
propsValue,
runwareCommon.generateImagesFromExistingImageSchema
);
return await runwareCommon.generateImages({
apiKey,
...propsValue,
});
},
});

View File

@@ -0,0 +1,21 @@
import { propsValidation } from '@activepieces/pieces-common';
import { createAction } from '@activepieces/pieces-framework';
import { runwareAuth, runwareCommon } from '../common';
export const generateImagesFromText = createAction({
auth: runwareAuth,
name: 'generateImagesFromText',
displayName: 'Generate Images from Text',
description: 'Produce images from a text description.',
props: runwareCommon.generateImagesFromTextProperties,
async run({ auth: apiKey, propsValue }) {
await propsValidation.validateZod(
propsValue,
runwareCommon.generateImagesFromTextSchema
);
return await runwareCommon.generateImages({
apiKey,
...propsValue,
});
},
});

View File

@@ -0,0 +1,25 @@
import { propsValidation } from '@activepieces/pieces-common';
import { createAction } from '@activepieces/pieces-framework';
import { runwareAuth, runwareCommon } from '../common';
export const generateVideoFromText = createAction({
auth: runwareAuth,
name: 'generateVideoFromText',
displayName: 'Generate Video from Text',
description: 'Generate video from text prompt.',
props: runwareCommon.generateVideoFromTextProperties,
async run({ auth: apiKey, propsValue }) {
await propsValidation.validateZod(
propsValue,
runwareCommon.generateVideoFromTextSchema
);
const { outputFormat, ...restProps } = propsValue;
return await runwareCommon.generateVideoFromText({
apiKey,
...restProps,
...(outputFormat
? { outputFormat: outputFormat as 'MP4' | 'WEBM' | 'MOV' }
: {}),
});
},
});

View File

@@ -0,0 +1,25 @@
import { propsValidation } from '@activepieces/pieces-common';
import { createAction } from '@activepieces/pieces-framework';
import { runwareAuth, runwareCommon } from '../common';
export const imageBackgroundRemoval = createAction({
auth: runwareAuth,
name: 'imageBackgroundRemoval',
displayName: 'Image Background Removal',
description: 'Request image background removal.',
props: runwareCommon.imageBackgroundRemovalProperties,
async run({ auth: apiKey, propsValue }) {
await propsValidation.validateZod(
propsValue,
runwareCommon.imageBackgroundRemovalSchema
);
const { outputFormat, ...restProps } = propsValue;
return await runwareCommon.imageBackgroundRemoval({
apiKey,
...restProps,
...(outputFormat
? { outputFormat: outputFormat as 'PNG' | 'JPG' | 'WEBP' }
: {}),
});
},
});

View File

@@ -0,0 +1,55 @@
import { PieceAuth } from '@activepieces/pieces-framework';
import { Runware } from '@runware/sdk-js';
import * as properties from './properties';
import * as schemas from './schemas';
import {
GenerateImagesParams,
GenerateVideoFromTextParams,
ImageBackgroundRemovalParams,
} from './types';
export const runwareAuth = PieceAuth.SecretText({
displayName: 'API Key',
description: 'You can get the API key from your Runware account',
required: true,
});
export const runwareCommon = {
runwareClient: (apiKey: string) => {
return new Runware({ apiKey });
},
// Properties
generateImagesFromTextProperties: properties.generateImagesFromText,
generateImagesFromExistingImageProperties:
properties.generateImagesFromExistingImage,
generateVideoFromTextProperties: properties.generateVideoFromText,
imageBackgroundRemovalProperties: properties.imageBackgroundRemoval,
// Schemas
generateImagesFromTextSchema: schemas.generateImagesFromText,
generateImagesFromExistingImageSchema:
schemas.generateImagesFromExistingImage,
generateVideoFromTextSchema: schemas.generateVideoFromText,
imageBackgroundRemovalSchema: schemas.imageBackgroundRemoval,
// API methods
generateImages: async ({ apiKey, ...imageParams }: GenerateImagesParams) => {
const client = runwareCommon.runwareClient(apiKey.secret_text);
return await client.requestImages(imageParams);
},
generateVideoFromText: async ({
apiKey,
...videoParams
}: GenerateVideoFromTextParams) => {
const client = runwareCommon.runwareClient(apiKey.secret_text);
return await client.videoInference(videoParams);
},
imageBackgroundRemoval: async ({
apiKey,
...imageParams
}: ImageBackgroundRemovalParams) => {
const client = runwareCommon.runwareClient(apiKey.secret_text);
return await client.removeImageBackground(imageParams);
},
};

View File

@@ -0,0 +1,191 @@
import { Property } from '@activepieces/pieces-framework';
// Common Properties
const height = ({ required = true }) =>
Property.Number({
displayName: 'Height',
description:
'Used to define the height dimension of the generated image. Certain models perform better with specific dimensions.',
required: required,
});
const width = ({ required = true }) =>
Property.Number({
displayName: 'Width',
description:
'Used to define the width dimension of the generated image. Certain models perform better with specific dimensions.',
required: required,
});
const model = Property.ShortText({
displayName: 'Model',
description:
`You can find model in the Model Explorer (https://my.runware.ai/models/all) tool.`,
required: true,
});
const steps = Property.Number({
displayName: 'Steps',
description:
'The number of steps is the number of iterations the model will perform to generate the image. The higher the number of steps, the more detailed the image will be. However, increasing the number of steps will also increase the time it takes to generate the image and may not always result in a better image (some schedulers work differently).',
required: false,
});
const CFGScale = Property.Number({
displayName: 'CFG Scale',
description:
'Guidance scale represents how closely the images will resemble the prompt or how much freedom the AI model has. Higher values are closer to the prompt. Low values may reduce the quality of the results.',
required: false,
});
const scheduler = Property.ShortText({
displayName: 'Scheduler',
description:
'An scheduler is a component that manages the inference process. Different schedulers can be used to achieve different results like more detailed images, faster inference, or more accurate results.',
required: false,
});
const positivePrompt = Property.LongText({
displayName: 'Positive Prompt',
description:
'A positive prompt is a text instruction to guide the model on generating the image. It is usually a sentence or a paragraph that provides positive guidance for the task. This parameter is essential to shape the desired results.',
required: true,
});
const negativePrompt = Property.LongText({
displayName: 'Negative Prompt',
description:
'A negative prompt is a text instruction to guide the model on generating the image. It is usually a sentence or a paragraph that provides negative guidance for the task. This parameter helps to avoid certain undesired results.',
required: false,
});
// Action Properties
export const generateImagesFromText = {
model,
positivePrompt,
negativePrompt,
height: height({ required: true }),
width: width({ required: true }),
steps,
CFGScale,
scheduler,
seed: Property.Number({
displayName: 'Seed',
description:
'A seed is a value used to randomize the image generation. If you want to make images reproducible (generate the same image multiple times), you can use the same seed value.',
required: false,
}),
vae: Property.ShortText({
displayName: 'VAE',
description:
'VAE (Variational Autoencoder) is a type of neural network architecture used for generating images. Some models may require a specific VAE to work properly. If you want to use a specific VAE, you can provide its AIR identifier here.',
required: false,
}),
clipSkip: Property.Number({
displayName: 'Clip Skip',
description:
'Defines additional layer skips during prompt processing in the CLIP model. Some models already skip layers by default, this parameter adds extra skips on top of those. Different values affect how your prompt is interpreted, which can lead to variations in the generated image.',
required: false,
}),
};
export const generateImagesFromExistingImage = {
seedImage: Property.ShortText({
displayName: 'Seed Image',
description: 'A URL for the seed image to base the generation on.',
required: true,
}),
model,
positivePrompt,
height: height({ required: true }),
width: width({ required: true }),
negativePrompt,
strength: Property.Number({
displayName: 'Strength',
description:
'A value between 0 and 1 that indicates how much to transform the seed image. A value of 0 will keep the image as is, while a value of 1 will completely transform it according to the prompt.',
required: false,
}),
steps,
CFGScale,
scheduler,
};
export const generateVideoFromText = {
positivePrompt,
negativePrompt,
model,
duration: Property.Number({
displayName: 'Duration',
description: 'The duration of the generated video in seconds.',
required: false,
}),
fps: Property.Number({
displayName: 'FPS',
description: 'Frames per second for the generated video.',
required: false,
}),
outputFormat: Property.StaticDropdown({
displayName: 'Output Format',
description: 'The format of the generated video.',
required: false,
options: {
options: [
{ label: 'MP4', value: 'MP4' },
{ label: 'WEBM', value: 'WEBM' },
{ label: 'MOV', value: 'MOV' },
],
},
}),
outputQuality: Property.Number({
displayName: 'Output Quality',
description:
'Sets the compression quality of the output video. Higher values preserve more quality but increase file size, lower values reduce file size but decrease quality.',
required: false,
}),
uploadEndpoint: Property.ShortText({
displayName: 'Upload Endpoint',
description:
'Specifies a URL where the generated content will be automatically uploaded using the HTTP PUT method. The raw binary data of the media file is sent directly as the request body. For secure uploads to cloud storage, use presigned URLs that include temporary authentication credentials.',
required: false,
}),
numberResults: Property.Number({
displayName: 'Number of Results',
description:
'Specifies how many videos to generate for the given parameters. Each video will have the same parameters but different seeds, resulting in variations of the same concept.',
required: false,
}),
};
export const imageBackgroundRemoval = {
inputImage: Property.ShortText({
displayName: 'Input Image',
description: 'A URL for the image to have its background removed.',
required: true,
}),
model,
outputFormat: Property.StaticDropdown({
displayName: 'Output Format',
description: 'The format of the output image with the background removed.',
required: false,
options: {
options: [
{ label: 'PNG', value: 'PNG' },
{ label: 'JPG', value: 'JPG' },
{ label: 'WEBP', value: 'WEBP' },
],
},
}),
outputQuality: Property.Number({
displayName: 'Output Quality',
description:
'Sets the compression quality of the output image. Higher values preserve more quality but increase file size, lower values reduce file size but decrease quality.',
required: false,
}),
uploadEndpoint: Property.ShortText({
displayName: 'Upload Endpoint',
description:
'Specifies a URL where the generated content will be automatically uploaded using the HTTP PUT method. The raw binary data of the media file is sent directly as the request body. For secure uploads to cloud storage, use presigned URLs that include temporary authentication credentials.',
required: false,
}),
};

View File

@@ -0,0 +1,62 @@
import z from 'zod';
// Base Schemas
const dimensions = z.number().min(128).max(2048);
const model = z.string();
const steps = z.number().min(1).max(100);
const CFGScale = z.number().min(1).max(30);
const scheduler = z.string();
const prompt = z.string().min(2).max(3000);
// Action Schemas
export const generateImagesFromText = {
positivePrompt: prompt,
negativePrompt: prompt.optional(),
model,
height: dimensions,
width: dimensions,
steps: steps.optional(),
CFGScale: CFGScale.optional(),
scheduler: scheduler.optional(),
seed: z.number().min(0).max(9223372036854776000).optional(),
vae: z.string().optional(),
clipSkip: z.number().min(1).max(2).optional(),
};
export const generateImagesFromExistingImage = {
seedImage: z.string().url(),
positivePrompt: prompt,
negativePrompt: prompt.optional(),
model,
strength: z.number().min(0).max(1).optional(),
height: dimensions,
width: dimensions,
steps: steps.optional(),
CFGScale: CFGScale.optional(),
scheduler: scheduler.optional(),
};
export const generateVideoFromText = {
positivePrompt: prompt,
negativePrompt: prompt.optional(),
model,
duration: z.number().min(1).max(10).optional(),
fps: z.number().min(15).max(60).optional(),
outputFormat: z.enum(['MP4', 'WEBM', 'MOV']).optional(),
outputQuality: z.number().min(20).max(99).optional(),
uploadEndpoint: z.string().url().optional(),
numberResults: z.number().min(1).max(4).optional(),
};
export const imageBackgroundRemoval = {
inputImage: z.string().url(),
model,
outputFormat: z.enum(['PNG', 'JPG', 'WEBP']).optional(),
outputQuality: z.number().min(20).max(99).optional(),
uploadEndpoint: z.string().url().optional(),
};

View File

@@ -0,0 +1,23 @@
import { AppConnectionValueForAuthProperty } from '@activepieces/pieces-framework';
import {
IRemoveImageBackground,
IRequestImage,
IRequestVideo,
} from '@runware/sdk-js';
import { runwareAuth } from '.';
export interface AuthorizationParams {
apiKey: AppConnectionValueForAuthProperty<typeof runwareAuth>;
}
export interface GenerateImagesParams
extends AuthorizationParams,
IRequestImage {}
export interface GenerateVideoFromTextParams
extends AuthorizationParams,
IRequestVideo {}
export interface ImageBackgroundRemovalParams
extends AuthorizationParams,
IRemoveImageBackground {}

View File

@@ -0,0 +1,20 @@
{
"extends": "../../../../tsconfig.base.json",
"compilerOptions": {
"module": "commonjs",
"forceConsistentCasingInFileNames": true,
"strict": true,
"importHelpers": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"noPropertyAccessFromIndexSignature": true
},
"files": [],
"include": [],
"references": [
{
"path": "./tsconfig.lib.json"
}
]
}

View File

@@ -0,0 +1,9 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "../../../../dist/out-tsc",
"declaration": true,
"types": ["node"]
},
"include": ["src/**/*.ts"]
}