Apiframe and PromptLayer Integration
Demonstration of how apps are integrated in WEXTL workflow builder[4]
Connect Apiframe and PromptLayer to automate ai workflows. Trigger events from one app, run actions in the other and use AI to make smart decisions. Integrate apps in 3 simple steps - no code required.
- 3-day trial
- Cancel anytime
- Up to 10 minutes quick set up
- GDPR
- Data Encryption
- 2FA
- Local Data Region
Learn about Apiframe and PromptLayer
Detailed info you need to know about Apiframe and PromptLayer integrations in WEXTL. Explore which modules apps support and how you connect them.
Apiframe

Single API wrapping Midjourney, Flux, and other image, video, and music models.[5]
PromptLayer

Manage prompt templates, log and search LLM requests, run workflows and evaluations.[6]
How to connect Apiframe to PromptLayer
Set up your Apiframe and PromptLayer integration in 3 simple steps[2]. No coding required. Up to 10 minutes setup.
STEP 1
Connect Apiframe and PromptLayer
Save credentials in WEXTL once. We store them encrypted and reuse the authorization across every workflow[3]. No coding or API skills required.
STEP 2
Build a workflow
Paste selected Apiframe and PromptLayer nodes onto the canvas[4], or describe what you want and WEXTL wires the flow together with AI Builder.
STEP 3
Map your data
Choose which fields need to sync between Apiframe and PromptLayer. Use filters or a JS custom code step in between. Everything is on the canvas.
How does the integration between Apiframe and PromptLayer work in WEXTL?
WEXTL exposes actions and triggers for Apiframe and PromptLayer that help you connect apps and automate repetitive tasks[1]. A trigger is an event that happens, and an action is a step that performs when the event has occurred.
PromptLayer triggersApiframe actions
PromptLayer modules
- Add a Request Log to a Draft Dataset Copies a logged request into the draft of a dataset group as a new row, and returns the Draft Dataset ID.
- Add a Trace to a Draft Dataset Adds a trace to the draft of a dataset group as a row. Narrow it to a single span with Span ID. The result includes the new Draft Dataset ID.
- Add an Evaluation Column Adds a scoring or transformation step to an evaluation pipeline. Give it a Column Type, a display Name and a Configuration, and use Position to place it.
- Add Rows Appends blank rows to a sheet. Use Count for how many, from 1 to 100, and Values to prefill text columns of each new row.
- Attach an External ID to a Dataset Group Records an identifier from another system against a dataset group. Fill Source with the namespace that owns it and External ID with the value.
- Attach an External ID to a Folder Records the identifier that another system uses for a folder. Pair Source, the owning system, with the External ID value.
- Attach an External ID to a Prompt Template Connects a prompt template to a record kept elsewhere, using a Source namespace and an External ID.
- Attach an External ID to a Skill Collection Stores an identifier from an outside system against a skill collection, under the Source that owns it.
- Attach an External ID to a Tool Registry Associates a registered tool with its identifier in another system. Provide the Source namespace together with the External ID.
- Attach an External ID to a Workflow Registers the identifier an outside system uses for a workflow, under a given Source.
- Attach an External ID to an Evaluation Pipeline Tags an evaluation pipeline with the key an outside tool uses for it. Provide the owning system as Source and its key as External ID.
- Cancel a Sheet Operation Stops a running sheet operation. The response reports the Cancelled Cell Count and which cells were reset.
- Cancel a Sheet Scorecard Stops scorecard calculations in progress on a sheet. Limit it with Row Indices or Step Ids, and read the Cancelled Count.
- Close a Trace Marks a trace as finished and returns its Closure details.
- Create a Column Adds a column to a Smart Table sheet with a Title and a Type. Use Config for type-specific settings and Dependencies to link it to other columns.
- Create a Dataset Group Creates a dataset group called Name, optionally inside a Folder ID and with External Ids attached. The group and its first Dataset are returned.
- Create a Dataset Version from a File Builds a new dataset version from an uploaded CSV or JSON file. Pass the File Name and the File Content Base64, and get back the Dataset ID.
- Create a Dataset Version from Filters Snapshots matching request logs into a new dataset version. Choose logs with Filters and Logic, free-text Q, or explicit Request Log Ids.
- Create a Draft Dataset Version Opens an editable draft for a dataset group. Copy an existing version into it with Source Dataset ID, and receive the Draft Dataset ID.
- Create a Folder Makes a folder called Name, nested under a Parent ID if given. Attach External Ids to track it from other systems.
- Create a Prompt Label Puts a release label called Name on one Prompt Version Number of a prompt, so that version can be fetched by the label.
- Create a Sheet Adds a tab to a Smart Table. Use Title to name it, Index for its display position, and Source to seed it with data.
- Create a Sheet Operation Starts a recalculation on a sheet. Limit it with Column Ids, Row Ids or Statuses, and use a Confirmation Token to approve a large run.
- Create a Sheet Version Saves a snapshot of a sheet. Give it a Name, or restore from a Source Version ID while creating it.
- Create a Skill Collection Creates a skill collection named Name, with Files, a Provider and a Commit Message. Use Folder ID to organize it.
- Create a Table Creates a Smart Table with an optional Title, inside a Folder ID. It starts with a default sheet unless you turn off Create Default Sheet.
- Create a Tool Registry Registers a tool from a Name plus a Tool Definition in OpenAI function-calling format. Add a Description, Folder ID and Commit Message.
- Create a Tool Variable Stores an environment variable for a registered tool under a Key, together with its Value.
- Create a Tool Version Adds a new version to a registered tool from a Tool Definition. Supply Code for the function body, plus Language and Commit Message.
- Create a Workflow Creates a workflow from a list of Nodes. Name it with Name, place it in a Folder ID, or add a version to an existing workflow with Workflow ID.
- Create a Workspace Variable Stores an environment variable for the whole workspace under a Key, together with its Value.
- Create an Evaluation Pipeline Sets up an evaluation pipeline for a dataset group. Add Columns, pin a Dataset Version Number, and supply Code for custom scoring.
- Create Spans in Bulk Sends many tracing spans in one request. Turn on Close After to close all trace IDs in the batch, and check Rejected Span Ids for any refused.
- Delete a Column Deletes a column of a sheet and reports the new Version.
- Delete a Prompt Label Removes a release label from a prompt version.
- Delete a Sheet Removes a sheet from a Smart Table and reports a Message.
- Delete a Sheet Scorecard Removes the scorecard defined on a sheet and reports Success.
- Delete a Table Removes a Smart Table and reports a Message.
- Delete a Tool Variable Removes an environment variable from a registered tool and reports Success.
- Delete a Workspace Variable Deletes an environment variable from the workspace and reports Success.
- Delete an Evaluation Column Deletes one column from an evaluation pipeline and reports Success.
- Delete an Evaluation Pipeline Deletes an evaluation pipeline and reports Success with a Message.
- Delete an External ID from a Dataset Group Deletes one outside-system reference from a dataset group. Pair a Source with an External ID to choose the one to remove.
- Delete an External ID from a Folder Clears the outside link of a folder, matching one pair of Source and External ID.
- Delete an External ID from a Prompt Template Clears one outside identifier from a prompt template. Provide its Source and External ID.
- Delete an External ID from a Skill Collection Detaches a skill collection from an outside system, matched on Source and External ID.
- Delete an External ID from a Tool Registry Deletes the External ID of a registered tool under a Source.
- Delete an External ID from a Workflow Removes the reference an outside system holds for a workflow, matched on Source and External ID.
- Delete an External ID from an Evaluation Pipeline Unlinks an evaluation pipeline from a record in another system, using Source plus External ID.
- Delete Evaluation Pipelines by Name Deletes evaluation pipelines by their Report Name in one call.
Apiframe modules
- Generate a Video Turns an image into a Midjourney video, with the Image URL as the start frame and the Prompt describing the clip. Set Motion to Low or High, where Low is the default. Returns the Task ID.
- Generate an Image Submits a Prompt to Midjourney and starts a new image job. Use Mode to run it Fast or Turbo, and add a Webhook URL to have task updates posted to your own address.
- Generate Image Variations (Variations) Requests variations of an image through the separate variations endpoint of Apiframe. Use Type to make them Strong or Subtle. Use Webhook Secret to authenticate the updates posted to your Webhook URL. Returns a Task ID.
- Generate Image Variations (Vary) Makes a variation of one of the four images in a finished task through the vary endpoint. Use Type to make it Strong or Subtle. Returns a Task ID.
- Get Task Results Fetches the Result of an earlier Apiframe task by its Task ID. Use the Task ID returned by the image, upscale, pan, zoom or video modules.
- Make an API Call Sends a free-form request to the Apiframe REST API, signed with your saved credential.
- Pan an Image Pans a finished image from an earlier task. Use Index to pick image 1 to 4 and Type to make the result Strong or Subtle. Returns a Task ID for the pan job.
- Upscale an Image (High Resolution) Enlarges an image 2x or 4x with the high-resolution upscaler. Set Parent Task ID and Index to use a task result, or Image URL for any other image. Returns the Task ID.
- Upscale an Image (Subtle or Creative) Upscales one image of a finished task with the Pro upscaler. Use Type to make the upscale Strong or Subtle. Returns a Task ID.
- Zoom an Image Zooms out of a finished image to show more of its surroundings. Use Type to set the zoom ratio and Index to select which of the four images to zoom. Returns the Task ID.
Explore alternative integrations
There are other apps[9] supported by WEXTL that can be paired with Apiframe and PromptLayer integrations. Pick any from the list below if the current combination isn't the one you need.
Frequently asked questions
Common questions about connecting Apiframe and PromptLayer.
References
List of sources used to gather information about the Apiframe and PromptLayer integration.
- Apiframe and PromptLayer integration source code, module specs and credentials implementation.
- Our Apiframe and PromptLayer integration documentation, structured input and output parameters, scopes, and authentication methods.
- Official vendor API documentation for Apiframe and PromptLayer, used to verify field meanings, authentication flows, and anything our own specs don't fully capture.
- WEXTL® visual workflow builder, anonymized data from our technical support team.
- Apiframe integration information
- PromptLayer integration information
- WEXTL® Scheduling
- WEXTL® Pricing and Trial
- WEXTL® Apps Library
How we write our apps documentation
Explore how WEXTL® crafted Apiframe and PromptLayer integration page documentation. Used sources, the role of AI, and how the team validates the result.