mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-10-27 07:14:04 +08:00
14 lines
607 B
C++
14 lines
607 B
C++
#ifndef __EXAMPLES_COMMON_GENERATION_METADATA_H__
|
|
#define __EXAMPLES_COMMON_GENERATION_METADATA_H__
|
|
|
|
#include <cstdint>
|
|
#include <string>
|
|
|
|
std::string merge_generation_info(const std::string& source, const std::string& operation);
|
|
std::string generation_info_with_relative_lora_paths(const std::string& info, const std::string& lora_model_dir);
|
|
int64_t generation_seed(const std::string& info, int64_t fallback = -1);
|
|
std::string generation_info_to_webui(const std::string& text);
|
|
std::string generation_info_to_image_metadata(const std::string& info);
|
|
|
|
#endif // __EXAMPLES_COMMON_GENERATION_METADATA_H__
|