Skip to content

TypeError: openrouter.imageModel is not a function #317

@nieling1

Description

@nieling1

There is error "TypeError: openrouter.imageModel is not a function" when I use this:

import {createOpenRouter} from '@openrouter/ai-sdk-provider';
const openrouter = createOpenRouter({key})
openrouter.imageModel('xxxx')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions