phpbb_ailabs/privet/ailabs/config/routing.yml

37 lines
1.1 KiB
YAML
Raw Normal View History

2023-05-28 01:43:21 +00:00
privet_chatgpt_page:
path: /ailabs/chatgpt
defaults: { _controller: privet.ailabs.controller_chatgpt:execute }
privet_dalle_page:
path: /ailabs/dalle
defaults: { _controller: privet.ailabs.controller_dalle:execute }
privet_stablediffusion_page:
path: /ailabs/stablediffusion
defaults: { _controller: privet.ailabs.controller_stablediffusion:execute }
2023-10-01 21:08:48 +00:00
privet_midjourney_page:
path: /ailabs/midjourney
defaults: { _controller: privet.ailabs.controller_midjourney:execute }
privet_midjourney_callback:
path: /ailabs/midjourney/callback/{job_id}/{ref}/{action}
methods: [POST]
defaults:
_controller: privet.ailabs.controller_midjourney:callback
mode: 'post'
requirements:
job_id: \d+
ref: "[a-zA-Z0-9]+"
action: posted|reply
2023-05-28 01:43:21 +00:00
privet_scriptexecute_page:
path: /ailabs/scriptexecute
defaults: { _controller: privet.ailabs.controller_scriptexecute:execute }
privet_ailabs_view_log_controller_page:
path: /ailabs/log/{post_id}
defaults: { _controller: privet.ailabs.controller_log:view_log }
requirements:
post_id: \d+