Compartir a través de


Leap (Independent Publisher) (Preview)

Generate images, music, and more using Leap.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure Government regions
     -   Azure China regions
     -   US Department of Defense (DoD)
Power Automate Premium All Power Automate regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Power Apps Premium All Power Apps regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Contact
Name Troy Taylor
URL https://www.hitachisolutions.com
Email ttaylor@hitachisolutions.com
Connector Metadata
Publisher Chandra Sekhar Malla, Troy Taylor
Website https://tryleap.ai/
Privacy policy https://app.getterms.io/view/dlM8u/privacy/en-us
Categories AI

Creating a connection

The connector supports the following authentication types:

Default Parameters for creating connection. All regions Not shareable

Default

Applicable: All regions

Parameters for creating connection.

This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.

Name Type Description Required
API Key (in the form 'Bearer YOUR_API_KEY_HERE') securestring The API Key (in the form 'Bearer YOUR_API_KEY_HERE') for this api True

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

Delete a model

Deletes a model. This is not reversible.

Delete image job

Delete the image job and all related images.

Generate an image

Generate an image by providing a text description.

Generate music

Generate music by providing a text description. Generations usually take between 1-3 minutes.

Get a model

Retrieve a single model.

Get a music generation job

Retrieve a specific music generation job.

Get image job

Retrieve a single image generation job, including the URLs for the images generated.

Get image jobs

Retrieve a list of inference jobs for a specific model.

Get models

Retrieve a list of all models for the workspace

Get music generation jobs

Retrieve a list of all music generation jobs for a workspace.

Train model

Upload a few image URL samples and train a new model. Training usually takes 20-40 minutes.

Delete a model

Deletes a model. This is not reversible.

Parameters

Name Key Required Type Description
Model ID
modelId True string

The ID of the model to generate images. This can be a custom model or a public model.

Returns

Name Path Type Description
ID
id string

The identifier.

Name
name string

The name.

Created At
createdAt string

When created at.

Subject Keyword
subjectKeyword string

The subject keyword.

Subject Type
subjectType string

The subject type.

Status
status string

The status.

Image Samples
imageSamples array of string

The image samples.

Delete image job

Delete the image job and all related images.

Parameters

Name Key Required Type Description
Model ID
modelId True string

The ID of the model to generate images. This can be a custom model or a public model.

Inference ID
inferenceId True string

The ID of the image generation job to delete.

Returns

response
string

Generate an image

Generate an image by providing a text description.

Parameters

Name Key Required Type Description
Model ID
modelId True string

The ID of the model to generate images. This can be a custom model or a public model.

Prompt
prompt True string

The prompt.

Negative Prompt
negativePrompt string

The negative prompt.

Steps
steps integer

The steps.

Width
width integer

The width.

Height
height integer

The height.

Number Of Images
numberOfImages integer

The number of images.

Prompt Strength
promptStrength integer

The prompt strength.

Seed
seed integer

The seed.

Webhook URL
webhookUrl string

The webhook URL address.

Returns

Name Path Type Description
ID
id string

The identifier.

Created At
createdAt string

When created at.

Prompt
prompt string

The prompt.

Negative Prompt
negativePrompt string

The negative prompt.

Seed
seed integer

The seed.

Width
width integer

The width.

Height
height integer

The height.

Prompt Strength
promptStrength integer

The prompt strength.

Number Of Images
numberOfImages integer

The number of images.

State
state string

The state.

Status
status string

The status.

Steps
steps integer

The steps.

Images
images array of object
ID
images.id string

The identifier.

Created At
images.createdAt string

When created at.

URI
images.uri string

The URI.

Model ID
modelId array of string

The model identifier.

Upscaling Option
upscalingOption string

The upscaling option.

Generate music

Generate music by providing a text description. Generations usually take between 1-3 minutes.

Parameters

Name Key Required Type Description
Prompt
prompt True string

The prompt.

Mode
mode True string

Select a mode, each option generates different results. Melody is best for melody, music is best for full songs

Duration
duration True integer

Duration of the generated audio in seconds. Max 30 seconds.

Returns

Name Path Type Description
ID
id string

The identifier.

Created At
createdAt string

When created at.

Prompt
prompt string

The prompt.

State
state string

The state.

Media URI
media_uri string

The media URI.

Get a model

Retrieve a single model.

Parameters

Name Key Required Type Description
Model ID
modelId True string

The ID of the model to generate images. This can be a custom model or a public model.

Returns

Name Path Type Description
ID
id string

The identifier.

Name
name string

The name.

Created At
createdAt string

When created at.

Subject Keyword
subjectKeyword string

The subject keyword.

Subject Type
subjectType string

The subject type.

Status
status string

The status.

Image Samples
imageSamples array of string

The image samples.

Get a music generation job

Retrieve a specific music generation job.

Parameters

Name Key Required Type Description
Inference ID
inferenceId True string

The identifier of the music generation job to retrieve.

Returns

Name Path Type Description
ID
id string

The identifier.

Created At
createdAt string

When created at.

Prompt
prompt string

The prompt.

State
state string

The state.

Media URI
media_uri string

The media URI.

Get image job

Retrieve a single image generation job, including the URLs for the images generated.

Parameters

Name Key Required Type Description
Model ID
modelId True string

The ID of the model to generate images. This can be a custom model or a public model.

Inference ID
inferenceId True string

The identifier of the image generation job to retrieve.

Returns

Name Path Type Description
ID
id string

The identifier.

Height
height integer

The height.

Width
width integer

The width.

Prompt
prompt string

The prompt.

Negative Prompt
negativePrompt string

The negative prompt.

Prompt Strength
promptStrength integer

The prompt strength.

Model ID
modelId string

The model identifier.

Number Of Images
numberOfImages integer

The number of images.

Seed
seed integer

The seed.

Steps
steps integer

The steps.

Upscaling Option
upscalingOption string

The upscaling option.

Created At
createdAt string

When created at.

State
state string

The state.

Status
status string

The status.

Images
images array of object
ID
images.id string

The identifier.

URI
images.uri string

The URI.

Created At
images.createdAt string

When created at.

Get image jobs

Retrieve a list of inference jobs for a specific model.

Parameters

Name Key Required Type Description
Model ID
modelId True string

The ID of the model to generate images. This can be a custom model or a public model.

Only Finished
onlyFinished boolean

If set to true, only finished inferences will be returned. If set to false or not set, all inference jobs will be returned.

Page
page integer

The page number.

Page Size
pageSize integer

The page size.

Returns

Name Path Type Description
array of object
ID
id string

The identifier.

Height
height integer

The height.

Width
width integer

The width.

Prompt
prompt string

The prompt.

Negative Prompt
negativePrompt string

The negative prompt.

Prompt Strength
promptStrength integer

The prompt strength.

Model ID
modelId string

The model identifier.

Number Of Images
numberOfImages integer

The number of images.

Seed
seed integer

The seed.

Steps
steps integer

The steps.

Upscaling Option
upscalingOption string

The upscaling option.

Created At
createdAt string

When created at.

State
state string

The state.

Status
status string

The status.

Images
images array of object
ID
images.id string

The identifier.

URI
images.uri string

The URI.

Created At
images.createdAt string

When created at.

Get models

Retrieve a list of all models for the workspace

Returns

Name Path Type Description
Models
models array of object
ID
models.id string

The identifier.

Name
models.name string

The name.

Created At
models.createdAt string

When created at.

Subject Keyword
models.subjectKeyword string

The subject keyword.

Subject Type
models.subjectType string

The subject type.

Status
models.status string

The status.

Image Samples
models.imageSamples array of string

The image samples.

Get music generation jobs

Retrieve a list of all music generation jobs for a workspace.

Returns

Name Path Type Description
array of object
ID
id string

The identifier.

Created At
createdAt string

When created at.

Prompt
prompt string

The prompt.

State
state string

The state.

Media URI
media_uri string

The media URI.

Train model

Upload a few image URL samples and train a new model. Training usually takes 20-40 minutes.

Parameters

Name Key Required Type Description
Name
name string

The name.

Subject Keyword
subjectKeyword string

The subject keyword.

Subject Type
subjectType string

The subject type.

Webhook URL
webhookUrl string

The webhook URL address.

Image Sample URLs
imageSampleUrls array of string

The image sample URL addresses.

Returns

Name Path Type Description
ID
id string

The identifier.

Name
name string

The name.

Created At
createdAt string

When created at.

Subject Keyword
subjectKeyword string

The subject keyword.

Subject Type
subjectType string

The subject type.

Status
status string

The status.

Image Samples
imageSamples array of string

The image samples.

Definitions

string

This is the basic data type 'string'.