Google Translate API 请求限制

发布于 2024-10-07 09:38:09 字数 70 浏览 7 评论 0原文

我知道 Google Translate API 每个请求的字符数限制为 5,000 个字符,但是在一定时间内允许多少个请求?

I know the Google Translate API has a limit of 5,000 characters per request, but how many requests are allowed under a certain period of time?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

像极了他 2024-10-14 09:38:09

似乎是 100,000

尽管这可以增加。 (参考链接中的讨论)

It seems to be 100,000.

Though this can be increased. (Refer discussion in the link)

感情废物 2024-10-14 09:38:09

使用(付费)谷歌翻译 API v2,可以设置不同的配额,例如每用户限制,它限制用户每秒可以发送进行翻译的最大字符数。您可以将其设置为您想要的最低值,即 10.0 个字符/秒/用户。

评论
不再有免费的谷歌翻译 API:V1 已于 2011 年 12 月 1 日关闭,V2 必须付费。请参阅:Google 语言 API

With the (paid) google translate API v2, one can set different quotas, like a Per-User Limit, which throttles the maximum number of characters a user can send for translation / second. You can set this as low as you want, i.e. 10.0 characters/second/user.

Remark
There is no more free google translate API: V1 was shut down on Dec. 1, 2011, and for V2 you have to pay. See: Google language APIs

落花浅忆 2024-10-14 09:38:09

默认情况下,它是 5 个请求/秒/用户和 200,000 个请求/天(计费限制),但您可以在控制台 Web 开发人员 google 中增加限制请求/秒/用户(位于 https://code.google.com/apis/console/)。

  1. 在左侧边栏中,选择 API 和auth,然后选择 API 并选择翻译 API。
  2. 在 API 的信息页面上,选择 API 名称附近的配额链接。
  3. 单击设置每用户限制...按钮以增加限制。

重要提示:如果您没有看到“BigQuery API”行 -> 5 个请求/秒/用户是因为您没有专业帐户 gmail。
另外:您必须启用Biling(无论是否为专业帐户)。

By default, it's 5 requests/second/user and 200,000 requests/day (Billable limit) but you can increase the limit requests/second/user in your console web developer google (at https://code.google.com/apis/console/).

  1. In the sidebar on the left, select APIs & auth, then select APIs and select Translate API.
  2. On the API's info page, select the Quota link near the API name.
  3. Click the Set per-user limits... button to increase your limits.

IMPORTANT : if you don't see the line "BigQuery API" -> 5 requests/second/user is because you don't have a professional account gmail.
Also : You have to enable Biling (professional account or not).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文