visionbites/kirby-atai 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

visionbites/kirby-atai

最新稳定版本:1.0.1

Composer 安装命令:

composer require visionbites/kirby-atai

包简介

A Kirby field plugin to generate alternative text for images using alttext.ai

README 文档

README

A Kirby field plugin to generate alternative text for images using alttext.ai.

You need to have and enter a valid API-Key

Install

Download Zip file

Copy plugin folder into site/plugins

Composer

composer require visionbites/kirby-atai

Usage

Add a field atai to your image blueprint where you want to enter the alternative text.

Example

Basic setup:

fields:
    alt:
        type: atai
        label: Alternative text

Options

there are only two options at the moment:

Option Default Description
api_key null Your api key for alttext.ai
reference null a reference to that is sent to alttext.ai with the metadata. Can be used e.g. to track usage
is_reachable false if the site is reachable from the internet. If yes only the images Url will be posted to alttext.ai. If not the whole image will be posted.

set the options in config.php:

return [
	'visionbites.kirby-atai' => [
		'api_key' => 'XXX',
		'reference' => 'my-project',
		'is_reachable' => false,
	]
];

todos

  • add option to pass tags
  • add option to pass manufacturer and product data
  • implement an option to batch process images
  • implement an info section to get usage information

License

MIT

It is discouraged to use this plugin in any project that promotes racism, sexism, homophobia animal abuse, violence or any other form of hate speech.

统计信息

  • 总下载量: 44
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 6
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-05-22