File tree Expand file tree Collapse file tree
ai/src/activities/generateVideo Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -191,10 +191,8 @@ export type FalVideoPromptModalitiesFor<TModel extends string> =
191191 * then submits to the mapped edit endpoint.
192192 */
193193export const FAL_VIDEO_EDIT_BY_SOURCE = {
194- 'xai/grok-imagine-video/text-to-video' :
195- 'xai/grok-imagine-video/edit-video' ,
196- 'xai/grok-imagine-video/image-to-video' :
197- 'xai/grok-imagine-video/edit-video' ,
194+ 'xai/grok-imagine-video/text-to-video' : 'xai/grok-imagine-video/edit-video' ,
195+ 'xai/grok-imagine-video/image-to-video' : 'xai/grok-imagine-video/edit-video' ,
198196} as const
199197
200198export type FalVideoEditSourceModel = keyof typeof FAL_VIDEO_EDIT_BY_SOURCE
Original file line number Diff line number Diff line change @@ -239,7 +239,9 @@ export abstract class BaseVideoAdapter<
239239 * generation's job id; media-kind adapters call this instead of
240240 * requiring a URL.
241241 */
242- protected async resolvePreviousJobUrl ( previousJobId : string ) : Promise < string > {
242+ protected async resolvePreviousJobUrl (
243+ previousJobId : string ,
244+ ) : Promise < string > {
243245 const result = await this . getVideoUrl ( previousJobId )
244246 if ( ! result . url ) {
245247 throw new Error (
You can’t perform that action at this time.
0 commit comments