Skip to content

feat(provider/prodia): add price param to API requests#12577

Open
R-Taneja wants to merge 2 commits intomainfrom
update-prodia-package-price-true
Open

feat(provider/prodia): add price param to API requests#12577
R-Taneja wants to merge 2 commits intomainfrom
update-prodia-package-price-true

Conversation

@R-Taneja
Copy link
Contributor

Background

Gateway needs to know how much to charge for Prodia generations

Summary

Returns the price of a generation with the new price param: https://docs.prodia.com/reference/price/

Manual Verification

Ran a query

Checklist

  • Tests have been added / updated (for bug fixes / features)
  • Documentation has been added / updated (for bug fixes / features)
  • A patch changeset for relevant packages has been added (for bug fixes / features - run pnpm changeset in the project root)
  • I have reviewed this pull request (self-review)

@R-Taneja R-Taneja requested a review from shaper February 13, 2026 18:55
@R-Taneja R-Taneja changed the title Update prodia package price true feat(provider/prodia): add price param to API requests Feb 13, 2026

const { value: multipartResult, responseHeaders } = await postToApi({
url: `${this.config.baseURL}/job`,
url: `${this.config.baseURL}/job?price=true`,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this slow the request down? only asking re: whether we might want to make this an option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants